Thread: Button positioning

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User Dante Shamest's Avatar
    Join Date
    Apr 2003
    Posts
    970
    How do I make a button child window for the parent window?
    I'm sorry, I don't understand. Didn't you just post the code to create the button?

  2. #2
    Registered User
    Join Date
    May 2005
    Posts
    207
    Yeah, but the code to create the button was in WM_CREATE. The code to declare the parent window is in WinMain.

    Can you declare a child window in the WinMain function or do you have to put it in WM_CREATE?

    mw
    Blucast Corporation

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 06-28-2008, 08:30 PM
  2. elliptical button
    By geek@02 in forum Windows Programming
    Replies: 0
    Last Post: 11-21-2006, 02:15 AM
  3. Remove dialog button border
    By RedZone in forum Windows Programming
    Replies: 4
    Last Post: 08-21-2006, 01:20 PM
  4. writing text over a deleted button
    By algi in forum Windows Programming
    Replies: 4
    Last Post: 05-02-2005, 11:32 AM
  5. Window won't display on button command!?
    By psychopath in forum Windows Programming
    Replies: 6
    Last Post: 06-22-2004, 08:12 PM