Frame? Are they in c++?

This is a discussion on Frame? Are they in c++? within the Windows Programming forums, part of the Platform Specific Boards category; Hey, As i'm sure anyone who has been reading my posts, i'm trying to learn win32 GUI's. Before i started ...

  1. #1
    Registered User
    Join Date
    Jan 2006
    Location
    England, Norwich
    Posts
    38

    Frame? Are they in c++?

    Hey,

    As i'm sure anyone who has been reading my posts, i'm trying to learn win32 GUI's. Before i started c++ i used to work in vb which indead was easy really easy infact to make GUI's i almost not know how to do everything i did then in GUI's but theres one thing i really miss Frames! i don't know if thats what you would called them in GUI's but in vb thats what they were called basicly what they were was a sqware box that you can but round opbject quite simple but i really miss them ( see attched picture to see what i meen )

    I have look on the forum and the web via google and even on msn for frame but i get every thing but what i want, so i was wondering if any of you nice great programmers that are way better then me knows how to create them? i would think you would have to load a libary (dll) to do it

    Thanks,
    Attached Images Attached Images  

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    They're called group boxes and are specialised button controls. You can create one with the CreateWindowEx api function by specifying the BS_GROUPBOX window style. You can also use the GROUPBOX command within a resource script (see Resource definition statemements).
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  3. #3
    Registered User
    Join Date
    Jan 2006
    Location
    England, Norwich
    Posts
    38
    Quote Originally Posted by Ken Fitlike
    They're called group boxes and are specialised button controls. You can create one with the CreateWindowEx api function by specifying the BS_GROUPBOX window style. You can also use the GROUPBOX command within a resource script (see Resource definition statemements).
    Thanks Ken, Got Them Working Now . Thank you for your fast repliy
    1 or 0, Alive Or Dead!
    -------------------------
    OS: Windows XP
    Complier: MinGW
    IDE: Dev-cpp

  4. #4
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,266
    Trivia: before I figured out what these were called in the Win32 API (so that means five or six years), I used to construct them out of two statics, one for the text and one with the SS_ETCHEDFRAME style.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Frame buffer not working
    By Noise in forum Game Programming
    Replies: 1
    Last Post: 02-15-2009, 12:05 PM
  2. Html frame question
    By Checker1977 in forum Tech Board
    Replies: 4
    Last Post: 11-06-2008, 07:43 AM
  3. Animation not working....
    By aquinn in forum C Programming
    Replies: 7
    Last Post: 02-19-2005, 05:37 AM
  4. the effects of textures on my frame rate
    By DavidP in forum Game Programming
    Replies: 37
    Last Post: 10-03-2003, 12:24 PM
  5. Frame relay
    By maes in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 05-18-2002, 08:03 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21