CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2003
    Posts
    20

    toolbar at win32

    Hi all

    How to create a toolbar at win32 application?
    Last edited by wow9999; September 13th, 2004 at 05:30 AM.

  2. #2
    Join Date
    Aug 2002
    Location
    Cluj-Napoca,Romania
    Posts
    3,496

    Re: toolbar at win32

    You can't have toolbars in a console application. The whole point of console applications is to use consoles instead of windows.
    Har Har

  3. #3
    Join Date
    May 1999
    Location
    ALABAMA, USA
    Posts
    9,917

    Re: toolbar at win32

    Toolbar is one of the windows common controls. It has a class name defined as TOOLBARCLASSNAME that may become ToolbarWindow ToolbarWindow32 ANSI or ToolbarWindow32 UNICODE.

    Creating toolbar is not an easy task; it requires lots of coding. First you create window of a toolbar class and after loading resource (bitmap) use send messages to set buttons. I am sure you will be able to find some sample code in WWW. Explaining it here falls beyond a scope of this forum.
    There are only 10 types of people in the world:
    Those who understand binary and those who do not.

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