Click here to Skip to main content
15,898,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionVirtual memory allocation Pin
RomTibi12-Aug-06 6:02
RomTibi12-Aug-06 6:02 
AnswerRe: Virtual memory allocation Pin
tanvon malik12-Aug-06 6:31
tanvon malik12-Aug-06 6:31 
GeneralRe: Virtual memory allocation Pin
RomTibi12-Aug-06 9:04
RomTibi12-Aug-06 9:04 
AnswerRe: Virtual memory allocation Pin
Mike Dimmick13-Aug-06 5:43
Mike Dimmick13-Aug-06 5:43 
GeneralRe: Virtual memory allocation Pin
RomTibi13-Aug-06 8:01
RomTibi13-Aug-06 8:01 
Questionlinked list Pin
jon-8012-Aug-06 5:29
professionaljon-8012-Aug-06 5:29 
AnswerRe: linked list Pin
Chris Losinger12-Aug-06 5:42
professionalChris Losinger12-Aug-06 5:42 
QuestionHow to control the behaviour of a toolbar button? Pin
Vinod Sankaranarayanan12-Aug-06 1:52
Vinod Sankaranarayanan12-Aug-06 1:52 
Hi all,

I had created one mainframe window and several document templates inside it. I had called all those from the "App" class.


Now I want to disable some buttons in the toolbar in one of its view class.

I tried....
CTCToolBar m_wndtoolbar; // Derived from CToolBar
m_wndtoolbar.SendMessage(TB_ENABLEBUTTON,ID_USECASE_NEW,FALSE);

and---->

m_wndtoolbar.GetToolBarCtrl().EnableButton(ID_USECASE_NEW,false);


But the application crashed...


can any one help me....

Thanks in advance..


vinsankar

AnswerRe: How to control the behaviour of a toolbar button? Pin
Monty212-Aug-06 2:20
Monty212-Aug-06 2:20 
GeneralRe: How to control the behaviour of a toolbar button? Pin
Vinod Sankaranarayanan12-Aug-06 3:55
Vinod Sankaranarayanan12-Aug-06 3:55 
AnswerRe: How to control the behaviour of a toolbar button? Pin
ovidiucucu12-Aug-06 4:23
ovidiucucu12-Aug-06 4:23 
GeneralRe: How to control the behaviour of a toolbar button? Pin
Vinod Sankaranarayanan12-Aug-06 5:44
Vinod Sankaranarayanan12-Aug-06 5:44 
GeneralRe: How to control the behaviour of a toolbar button? [modified] Pin
ovidiucucu13-Aug-06 1:54
ovidiucucu13-Aug-06 1:54 
AnswerRe: How to control the behaviour of a toolbar button? Pin
Hamid_RT14-Aug-06 7:09
Hamid_RT14-Aug-06 7:09 
QuestionHost ActiveX control and draw to memory context? Pin
Andrew Altham12-Aug-06 0:22
Andrew Altham12-Aug-06 0:22 
AnswerRe: Host ActiveX control and draw to memory context? Pin
bob1697212-Aug-06 6:45
bob1697212-Aug-06 6:45 
QuestionRe: Host ActiveX control and draw to memory context? Pin
Andrew Altham12-Aug-06 23:08
Andrew Altham12-Aug-06 23:08 
AnswerRe: Host ActiveX control and draw to memory context? Pin
bob1697213-Aug-06 11:51
bob1697213-Aug-06 11:51 
Questionhooks work only for own application Pin
_tasleem11-Aug-06 23:58
_tasleem11-Aug-06 23:58 
AnswerRe: hooks work only for own application Pin
Naveen12-Aug-06 0:43
Naveen12-Aug-06 0:43 
GeneralRe: hooks work only for own application Pin
_tasleem12-Aug-06 2:15
_tasleem12-Aug-06 2:15 
GeneralRe: hooks work only for own application Pin
Naveen13-Aug-06 17:29
Naveen13-Aug-06 17:29 
QuestionFunction needed Pin
SandhyaSri11-Aug-06 20:22
SandhyaSri11-Aug-06 20:22 
AnswerRe: Function needed Pin
PJ Arends11-Aug-06 21:33
professionalPJ Arends11-Aug-06 21:33 
AnswerRe: Function needed Pin
Hamid_RT14-Aug-06 7:10
Hamid_RT14-Aug-06 7:10 

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.