Click here to Skip to main content
15,890,973 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Solving leaks Pin
NormDroid10-Feb-01 5:47
professionalNormDroid10-Feb-01 5:47 
QuestionWebsites? Pin
10-Feb-01 4:54
suss10-Feb-01 4:54 
AnswerRe: Websites? Pin
10-Feb-01 11:03
suss10-Feb-01 11:03 
GeneralHelp..CEdit ( enabling and text selection ) Pin
10-Feb-01 4:47
suss10-Feb-01 4:47 
QuestionWhat is the windows message no. 0x101E is for ? Pin
winyu9-Feb-01 20:01
winyu9-Feb-01 20:01 
AnswerRe: What is the windows message no. 0x101E is for ? Pin
Erik Funkenbusch12-Feb-01 13:11
Erik Funkenbusch12-Feb-01 13:11 
GeneralHotKey in backend process Pin
Vickie9-Feb-01 17:37
Vickie9-Feb-01 17:37 
GeneralToolbar - MFC and COM Pin
9-Feb-01 10:44
suss9-Feb-01 10:44 
I am trying to develop a toolbar application using COM - that is a COM obj. that only impliments a toolbar. Currently I have designed it as follows - an ATL CDialogImp derived class with the class containing a CToolBarCtrl (MFC) as a member.
MyClass : CDialogImp<>
{
CToolBarCtrl m_MyTB;
}

Things haven't been easy but it is almost done, the only outstanding issue is hotkeys for the toolbar buttons. I still have 2 problems when the toolbar has the TBSTYLE_FLAT style. Toolbar buttons with borders works fine.

1. If there is no 'hotkey' provided (using an '&' in the button text) the MFC toolbar defaults the first letter of the button text as the 'hotkey'. Another similiar issue is the underline indicating a hotkey does not always appear ??
The MFC toolbar is supposed to be doing all this under the covers I'm assuming because there doesn't seem to be a way to access it.

2. If the default hotkey (from 1.) is pressed and NOT the ALT key, the button becomes HOT (i.e. looks raised), and if the the same key is presed again the whole thing crashes Mad | :mad:

I'm new to MFC/COM any suggestions would be greatly appreciated.
GeneralCount item in folder Pin
IAF9-Feb-01 9:07
IAF9-Feb-01 9:07 
GeneralRe: Count item in folder Pin
Daniel Ferguson9-Feb-01 10:05
Daniel Ferguson9-Feb-01 10:05 
QuestionChangin color? Pin
9-Feb-01 8:34
suss9-Feb-01 8:34 
AnswerRe: Changin color? Pin
Daniel Ferguson9-Feb-01 9:46
Daniel Ferguson9-Feb-01 9:46 
GeneralUsage of CArray<> with a CListCtrl derrived class. Pin
Henrik9-Feb-01 6:42
Henrik9-Feb-01 6:42 
GeneralRe: Usage of CArray<> with a CListCtrl derrived class. Pin
Chris Losinger9-Feb-01 8:57
professionalChris Losinger9-Feb-01 8:57 
GeneralRe: Usage of CArray<> with a CListCtrl derrived class. Pin
leonwoo9-Feb-01 13:48
leonwoo9-Feb-01 13:48 
Generalcreateing an unique number runtime Pin
9-Feb-01 5:26
suss9-Feb-01 5:26 
GeneralRe: createing an unique number runtime Pin
Chris Losinger9-Feb-01 6:34
professionalChris Losinger9-Feb-01 6:34 
GeneralSorry ... but Grafix wanted ! Pin
.::RockNix::.9-Feb-01 3:43
.::RockNix::.9-Feb-01 3:43 
GeneralRe: Sorry ... but Grafix wanted ! Pin
Daniel Ferguson9-Feb-01 9:30
Daniel Ferguson9-Feb-01 9:30 
QuestionHow can I set or Move position of an Edit Control Pin
9-Feb-01 1:43
suss9-Feb-01 1:43 
AnswerRe: How can I set or Move position of an Edit Control Pin
Peter Pearson9-Feb-01 3:36
Peter Pearson9-Feb-01 3:36 
GeneralPop3 Pin
8-Feb-01 20:21
suss8-Feb-01 20:21 
GeneralRe: Pop3 Pin
9-Feb-01 3:58
suss9-Feb-01 3:58 
GeneralRe: Pop3 Pin
Rob Caldecott9-Feb-01 4:26
Rob Caldecott9-Feb-01 4:26 
GeneralMFC CString Question.... Pin
8-Feb-01 14:38
suss8-Feb-01 14:38 

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.