Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Right click and ON_UPDATE_COMMAND_UI Pin
_Flaviu30-Dec-11 0:46
_Flaviu30-Dec-11 0:46 
GeneralRe: Right click and ON_UPDATE_COMMAND_UI Pin
Code-o-mat30-Dec-11 1:01
Code-o-mat30-Dec-11 1:01 
GeneralRe: Right click and ON_UPDATE_COMMAND_UI Pin
_Flaviu30-Dec-11 2:39
_Flaviu30-Dec-11 2:39 
GeneralRe: Right click and ON_UPDATE_COMMAND_UI Pin
Code-o-mat30-Dec-11 2:43
Code-o-mat30-Dec-11 2:43 
Questionwin32 api - some kind of control container Pin
jkirkerx29-Dec-11 8:51
professionaljkirkerx29-Dec-11 8:51 
GeneralRe: win32 api - some kind of control container Pin
Randor 29-Dec-11 14:01
professional Randor 29-Dec-11 14:01 
GeneralNew Description Pin
jkirkerx29-Dec-11 15:11
professionaljkirkerx29-Dec-11 15:11 
GeneralRe: New Description Pin
Randor 29-Dec-11 16:22
professional Randor 29-Dec-11 16:22 
Hey Jim,
jkirkerx wrote:
I want to group a collection of textboxes, labels and buttons, and store it as a single object that I can make visible or invisible.

I am sure that you are already familiar with the parent/child relationship with windows; If you hide a parent window all of its children are non-visible.

Intentional paronomasia: Thinking outside the box... In your InitDialog() or perhaps OnSize() you could get the rectangle of the group box and set all windows with the Top/Left point that are within the group box rect... to be child windows of the group box. Now when you hide the groupbox... all child windows will also be hidden.

It may also be be possible to do something with ON_CONTROL_RANGE[^] to control/hide all of them at once. All you need to do to implement this is give them ID's of a contiguous range... 100, 101, 102, 103, 104, ...

That's all I can think of for now.

Best Wishes,
-David Delaune
GeneralRe: New Description Pin
jkirkerx29-Dec-11 16:43
professionaljkirkerx29-Dec-11 16:43 
GeneralRe: New Description Pin
Randor 29-Dec-11 17:01
professional Randor 29-Dec-11 17:01 
AnswerRe: win32 api - some kind of control container Pin
David Crow29-Dec-11 15:06
David Crow29-Dec-11 15:06 
QuestionTic-tac-toe bitmap Pin
Phil00529-Dec-11 6:38
Phil00529-Dec-11 6:38 
QuestionRe: Tic-tac-toe bitmap Pin
Code-o-mat29-Dec-11 7:01
Code-o-mat29-Dec-11 7:01 
AnswerRe: Tic-tac-toe bitmap Pin
Phil00529-Dec-11 7:11
Phil00529-Dec-11 7:11 
GeneralRe: Tic-tac-toe bitmap Pin
Code-o-mat29-Dec-11 7:54
Code-o-mat29-Dec-11 7:54 
GeneralRe: Tic-tac-toe bitmap Pin
Phil00529-Dec-11 23:40
Phil00529-Dec-11 23:40 
QuestionOutprocess Control Pin
Tracy Software28-Dec-11 22:37
Tracy Software28-Dec-11 22:37 
AnswerRe: Outprocess Control Pin
CPallini28-Dec-11 23:05
mveCPallini28-Dec-11 23:05 
GeneralRe: Outprocess Control Pin
Tracy Software29-Dec-11 0:35
Tracy Software29-Dec-11 0:35 
AnswerRe: Outprocess Control Pin
Tracy Software29-Dec-11 0:55
Tracy Software29-Dec-11 0:55 
QuestionTAPI Call program Pin
Hadi Dayvary28-Dec-11 22:05
professionalHadi Dayvary28-Dec-11 22:05 
QuestionHow to retrieve another cookies from InternetGetCookie() when the website sets multiple cookies. Pin
Avinash Pachar27-Dec-11 21:22
Avinash Pachar27-Dec-11 21:22 
QuestionRe: How to retrieve another cookies from InternetGetCookie() when the website sets multiple cookies. Pin
David Crow28-Dec-11 4:20
David Crow28-Dec-11 4:20 
AnswerRe: How to retrieve another cookies from InternetGetCookie() when the website sets multiple cookies. Pin
Chuck O'Toole28-Dec-11 5:16
Chuck O'Toole28-Dec-11 5:16 
QuestionRe: How to retrieve another cookies from InternetGetCookie() when the website sets multiple cookies. Pin
Avinash Pachar3-Jan-12 21:21
Avinash Pachar3-Jan-12 21:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.