Results 1 to 4 of 4

Thread: CreateWindow

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    30

    Cool

    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 ( )!

  2. #2
    Guest
    Try the WS_DLGFRAME flag.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    30

    Talking

    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 ( )!

  4. #4
    Guest
    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
  •  



Click Here to Expand Forum to Full Width