Results 1 to 2 of 2

Thread: Create Window

  1. #1

    Thread Starter
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409

    Unhappy

    I am using the CreateWindow API Function to create a button.The problem is that the button has a title bar.How do i make it a "real" buttton with no title bar.I have tried all window styles but it doesn't work.
    Code:
    b = CreateWindow(
        		"BUTTON",
        		"Click!",
        		BS_PUSHBUTTON,
        		0,
        		0,
        		20,
        		60,
        		NULL,
        		NULL,
        		NULL,
        		NULL
        		);
    ShowWindow(b,1);
    The code is in C++ but that doesn't change anything.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  2. #2

    Thread Starter
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    No help needed any more.I solved the problem.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

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