News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

CreateWindowEx fails

Started by GoneFishing, March 24, 2013, 01:43:45 AM

Previous topic - Next topic

GoneFishing

#30
The old Win32.hlp is still very helpful.
Gone reading ...

Enforced by knowledge
                                         I'll be back  8)

dedndave

you can try this link, as well
http://msdn.microsoft.com/en-us/library/windows/desktop/ms632680%28v=vs.85%29.aspx

it also mentions the CreateWindow function, which i think is actually a c-compiler macro
CreateWindow calls CreateWindowEx, with lParam = 0

GoneFishing

I want to upload an avatar. What size/format is allowed for it?

dedndave

i use 130x130
not sure if there is a format requirement, but i think i used a PNG
i think there is a file size limit, but i forget what it is
as long as you don't try to use a hi-def BMP, you'll probably be alright - lol

GoneFishing

I've tried to upload 209x209 jpeg but received an error "picture is either too large or is not an avatar"

dedndave

looks like you got it   :biggrin:
i was going to say - use Paint or something to convert it to a PNG file

GoneFishing

#36
Yes, I did  :biggrin:
It was Paint I used to convert the picture