HAHA!
Which parameters do i have to use for CreateWindow to create a borderless window (like setting BorderStyle to 0 in the VB-DevEnv)?
Printable View
HAHA!
Which parameters do i have to use for CreateWindow to create a borderless window (like setting BorderStyle to 0 in the VB-DevEnv)?
Try the WS_DLGFRAME flag.
thankx for your reply but i want to create a window which has no border or title bar etc. i want to have a window that looks like the one you get when setting the borderstyle of a form to 0 in your vb6app...
C_Win is CreateWindowEx. API Viewer is missing the CreateWindow API, so just make sure you use the perimeter WS_DLGFRAME and NEVER use WS_CAPTION. That should get you a title-less border-less form display. Also, I'm missing the CreateWindow API, so I used the CreateWindowEx as a example. Anything else?Code:C_Win ..., WS_DLGFRAME, ...
Just make sure you add the WS_DLGFRAME and do not use WS_CAPTION for dwstyle