CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2006
    Posts
    47

    WIndows

    Hey all
    ip it nude .
    Last edited by chasetoys; May 28th, 2006 at 12:28 PM.

  2. #2
    Join Date
    Dec 2003
    Location
    Syracuse, NY
    Posts
    400

    Re: I want nude windows! Completely nude! (No titlebar, no border, no nothing!)

    You can use the WS_POPUP flag with CreateWindowEx()

    I don't know if you can do this if you can do it after the CreateWindowEx() call, but you can try SetWIndowLongPtr() don't know if that will work though.
    "Windows programming is like going to the dentist: You know it's good for you, but no one likes doing it."
    - Andre LaMothe

    DLL For Beginners(UPDATED)
    Please use CODE tags
    Rate me if I've helped.

  3. #3
    Join Date
    Apr 2006
    Posts
    47

    Re: I want nude windows! Completely nude! (No titlebar, no border, no nothing!)

    Quote Originally Posted by Notsosuperhero
    You can use the WS_POPUP flag with CreateWindowEx()

    I don't know if you can do this if you can do it after the CreateWindowEx() call, but you can try SetWIndowLongPtr() don't know if that will work though.
    So I am using WS_POPUP, but it still seems to have a 3D border. Does anyone know how to remove this?

    Thanks!

  4. #4
    Join Date
    Jun 2005
    Location
    PA
    Posts
    129

    Re: I want nude windows! Completely nude! (No titlebar, no border, no nothing!)

    you could just make a dialog with everything you want (or in this case everything you dont want) and call it from your program

  5. #5
    Join Date
    Apr 2006
    Posts
    47

    Re: I want nude windows! Completely nude! (No titlebar, no border, no nothing!)

    Quote Originally Posted by +J_o_S_H
    you could just make a dialog with everything you want (or in this case everything you dont want) and call it from your program
    I'm really unclear on your solution Josh. I really need to have Window HWNDs, and not just dialogs for the rest of my app.

  6. #6
    Join Date
    Jun 2005
    Location
    PA
    Posts
    129

    Re: I want nude windows! Completely nude! (No titlebar, no border, no nothing!)

    well in that case, instead of WS_POPUP, have you tried WS_CHILD without WS_BORDER?

  7. #7
    Join Date
    May 2001
    Location
    Oslo, Norway
    Posts
    610

    Re: I want nude windows! Completely nude! (No titlebar, no border, no nothing!)

    I have made owner-drawn windows without anything at all. Just the client area, and it was, like i said, owner drawn, so when the window appears, you dont see it, because it just reserves space on desktop, meaning nothing will draw thru it, and you paint the client area yourself. I used the CreateWindowEx function for it. Not child window, but application window. You have to play around with styles and extended styles Good luck. The reason I cannot post example now, is because i dont have the build environment and the compiler installed..

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

Featured