Click here to Skip to main content
15,794,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Accessing / printing two dimensional array of char using pointers Pin
enhzflep27-Jul-15 19:12
enhzflep27-Jul-15 19:12 
GeneralSOLVED Re: Accessing / printing two dimensional array of char using pointers Pin
Vaclav_28-Jul-15 5:04
Vaclav_28-Jul-15 5:04 
QuestionRe: Accessing / printing two dimensional array of char using pointers Pin
David Crow27-Jul-15 5:59
David Crow27-Jul-15 5:59 
AnswerRe: Accessing / printing two dimensional array of char using pointers Pin
Jeremy Falcon27-Jul-15 6:13
professionalJeremy Falcon27-Jul-15 6:13 
GeneralRe: Accessing / printing two dimensional array of char using pointers Pin
Vaclav_27-Jul-15 6:51
Vaclav_27-Jul-15 6:51 
GeneralRe: Accessing / printing two dimensional array of char using pointers Pin
Jeremy Falcon27-Jul-15 7:01
professionalJeremy Falcon27-Jul-15 7:01 
GeneralRe: Accessing / printing two dimensional array of char using pointers Pin
Richard MacCutchan27-Jul-15 8:20
mveRichard MacCutchan27-Jul-15 8:20 
QuestionAdd button to vertical toolbar embedded in CPagerCtrl embedded in CDockingPane attached to CFrameWndEx Pin
Craig Hewitt24-Jul-15 10:02
professionalCraig Hewitt24-Jul-15 10:02 
Hello everyone,

I have a weird situation...I have a CToolBar that has a parent of a CPagerCtrl which has a parent of a CDockingPane. Why I developed it that was is a long story and changing the architecture is not really an option at this point. Everything is working quite well except for one problem behavior. And this wouldn't have been a problem had the requirements not changed.

The problem behavior is that initially the toolbar has 9 buttons, but before it is shown I remove some of them depending on the options enabled. Depending on the state of the application at a particular time I may add buttons back. The toolbar does not reflect the change. In the past I would have just called RecalcLayout() on the frame window and voila, the toolbar would adjust it's size to properly reflect the new buttons.

I am at a loss on how to accomplish this with this architecture. I have tried many things...so many I can't remember them right now. Any ideas/help would be greatly appreciated. I will post any code upon request. I am just not sure what is of value right now.

Thanks,

Craig
QuestionC or C++ for customized embedded Linux, which is the best and why? Pin
Abdullah A._Mohamed22-Jul-15 21:16
Abdullah A._Mohamed22-Jul-15 21:16 
AnswerRe: C or C++ for customized embedded Linux, which is the best and why? Pin
CPallini22-Jul-15 21:37
mveCPallini22-Jul-15 21:37 
GeneralRe: C or C++ for customized embedded Linux, which is the best and why? Pin
Richard Deeming23-Jul-15 3:00
mveRichard Deeming23-Jul-15 3:00 
GeneralRe: C or C++ for customized embedded Linux, which is the best and why? Pin
CPallini23-Jul-15 3:06
mveCPallini23-Jul-15 3:06 
GeneralRe: C or C++ for customized embedded Linux, which is the best and why? Pin
Abdullah A._Mohamed23-Jul-15 20:19
Abdullah A._Mohamed23-Jul-15 20:19 
GeneralRe: C or C++ for customized embedded Linux, which is the best and why? Pin
CPallini23-Jul-15 21:45
mveCPallini23-Jul-15 21:45 
AnswerRe: C or C++ for customized embedded Linux, which is the best and why? Pin
Albert Holguin23-Jul-15 15:57
professionalAlbert Holguin23-Jul-15 15:57 
GeneralRe: C or C++ for customized embedded Linux, which is the best and why? Pin
Abdullah A._Mohamed23-Jul-15 20:28
Abdullah A._Mohamed23-Jul-15 20:28 
GeneralRe: C or C++ for customized embedded Linux, which is the best and why? Pin
Albert Holguin24-Jul-15 5:11
professionalAlbert Holguin24-Jul-15 5:11 
GeneralRe: C or C++ for customized embedded Linux, which is the best and why? Pin
CPallini23-Jul-15 21:47
mveCPallini23-Jul-15 21:47 
GeneralRe: C or C++ for customized embedded Linux, which is the best and why? Pin
Albert Holguin24-Jul-15 5:10
professionalAlbert Holguin24-Jul-15 5:10 
QuestionC or C++ for customized embedded Linux, which is the best and why? Pin
Abdullah A. Mohamed22-Jul-15 20:28
Abdullah A. Mohamed22-Jul-15 20:28 
AnswerRe: C or C++ for customized embedded Linux, which is the best and why? Pin
Jeremy Falcon27-Jul-15 6:11
professionalJeremy Falcon27-Jul-15 6:11 
QuestionReading uncompressed AVI file frame by frame into raw memory buffer? Pin
Kiran Satish22-Jul-15 20:08
Kiran Satish22-Jul-15 20:08 
AnswerRe: Reading uncompressed AVI file frame by frame into raw memory buffer? Pin
Daniel Pfeffer22-Jul-15 22:38
professionalDaniel Pfeffer22-Jul-15 22:38 
GeneralRe: Reading uncompressed AVI file frame by frame into raw memory buffer? Pin
Kiran Satish23-Jul-15 7:12
Kiran Satish23-Jul-15 7:12 
GeneralRe: Reading uncompressed AVI file frame by frame into raw memory buffer? Pin
Daniel Pfeffer23-Jul-15 7:41
professionalDaniel Pfeffer23-Jul-15 7:41 

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.