|
-
Oct 4th, 2000, 09:22 AM
#1
Thread Starter
Junior Member
HAHA!
Which parameters do i have to use for CreateWindow to create a borderless window (like setting BorderStyle to 0 in the VB-DevEnv)?
Currently using VB6 Enterprise, but VC++ is much better for API (  )!
-
Oct 5th, 2000, 10:24 PM
#2
Try the WS_DLGFRAME flag.
-
Oct 6th, 2000, 05:07 AM
#3
Thread Starter
Junior Member
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...
Currently using VB6 Enterprise, but VC++ is much better for API (  )!
-
Oct 6th, 2000, 07:06 PM
#4
Code:
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|