Click to See Complete Forum and Search --> : CreateWindow
wolfrog
Oct 4th, 2000, 09:22 AM
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.
wolfrog
Oct 6th, 2000, 05:07 AM
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 ..., WS_DLGFRAME, ...
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?
Just make sure you add the WS_DLGFRAME and do not use WS_CAPTION for dwstyle
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.