Click here to Skip to main content
15,900,906 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Error reading characters of string Pin
Richard Andrew x6427-Jul-15 9:54
professionalRichard Andrew x6427-Jul-15 9:54 
GeneralRe: Error reading characters of string Pin
Django_Untaken27-Jul-15 18:06
Django_Untaken27-Jul-15 18:06 
AnswerRe: Error reading characters of string Pin
Richard Andrew x6427-Jul-15 18:21
professionalRichard Andrew x6427-Jul-15 18:21 
GeneralRe: Error reading characters of string Pin
Django_Untaken27-Jul-15 18:32
Django_Untaken27-Jul-15 18:32 
AnswerRe: Error reading characters of string Pin
Richard Andrew x6427-Jul-15 18:58
professionalRichard Andrew x6427-Jul-15 18:58 
AnswerRe: Error reading characters of string Pin
Albert Holguin28-Jul-15 6:23
professionalAlbert Holguin28-Jul-15 6:23 
QuestionRe: Error reading characters of string Pin
Richard MacCutchan27-Jul-15 21:02
mveRichard MacCutchan27-Jul-15 21:02 
AnswerRe: Error reading characters of string Pin
Django_Untaken28-Jul-15 6:26
Django_Untaken28-Jul-15 6:26 
GeneralRe: Error reading characters of string Pin
Richard MacCutchan28-Jul-15 6:34
mveRichard MacCutchan28-Jul-15 6:34 
GeneralRe: Error reading characters of string Pin
SundararamanS28-Jul-15 23:39
SundararamanS28-Jul-15 23:39 
QuestionAccessing / printing two dimensional array of char using pointers Pin
Vaclav_26-Jul-15 4:06
Vaclav_26-Jul-15 4:06 
AnswerRe: Accessing / printing two dimensional array of char using pointers Pin
Richard MacCutchan26-Jul-15 5:51
mveRichard MacCutchan26-Jul-15 5:51 
AnswerRe: Accessing / printing two dimensional array of char using pointers Pin
enhzflep26-Jul-15 6:47
enhzflep26-Jul-15 6:47 
GeneralRe: Accessing / printing two dimensional array of char using pointers Pin
Vaclav_26-Jul-15 7:35
Vaclav_26-Jul-15 7:35 
QuestionRe: Accessing / printing two dimensional array of char using pointers Pin
CPallini26-Jul-15 20:49
mveCPallini26-Jul-15 20:49 
AnswerRe: Accessing / printing two dimensional array of char using pointers Pin
enhzflep27-Jul-15 0:54
enhzflep27-Jul-15 0:54 
GeneralRe: Accessing / printing two dimensional array of char using pointers Pin
Vaclav_27-Jul-15 15:23
Vaclav_27-Jul-15 15:23 
GeneralRe: Accessing / printing two dimensional array of char using pointers Pin
enhzflep27-Jul-15 18:12
enhzflep27-Jul-15 18:12 
GeneralSOLVED Re: Accessing / printing two dimensional array of char using pointers Pin
Vaclav_28-Jul-15 4:04
Vaclav_28-Jul-15 4:04 
QuestionRe: Accessing / printing two dimensional array of char using pointers Pin
David Crow27-Jul-15 4:59
David Crow27-Jul-15 4:59 
AnswerRe: Accessing / printing two dimensional array of char using pointers Pin
Jeremy Falcon27-Jul-15 5:13
professionalJeremy Falcon27-Jul-15 5:13 
GeneralRe: Accessing / printing two dimensional array of char using pointers Pin
Vaclav_27-Jul-15 5:51
Vaclav_27-Jul-15 5:51 
GeneralRe: Accessing / printing two dimensional array of char using pointers Pin
Jeremy Falcon27-Jul-15 6:01
professionalJeremy Falcon27-Jul-15 6:01 
GeneralRe: Accessing / printing two dimensional array of char using pointers Pin
Richard MacCutchan27-Jul-15 7:20
mveRichard MacCutchan27-Jul-15 7:20 
QuestionAdd button to vertical toolbar embedded in CPagerCtrl embedded in CDockingPane attached to CFrameWndEx Pin
Craig Hewitt24-Jul-15 9:02
professionalCraig Hewitt24-Jul-15 9: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

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.