Click here to Skip to main content
16,007,760 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCTreeCtrl::OnLButtonUp doesn't get called Pin
Arjan Schouten9-Dec-02 2:22
Arjan Schouten9-Dec-02 2:22 
GeneralRe: CTreeCtrl::OnLButtonUp doesn't get called Pin
Tibor Blazko9-Dec-02 3:13
Tibor Blazko9-Dec-02 3:13 
GeneralRe: CTreeCtrl::OnLButtonUp doesn't get called Pin
Arjan Schouten9-Dec-02 3:30
Arjan Schouten9-Dec-02 3:30 
GeneralRe: CTreeCtrl::OnLButtonUp doesn't get called Pin
Tibor Blazko9-Dec-02 3:32
Tibor Blazko9-Dec-02 3:32 
GeneralTranslate Pin
hest9-Dec-02 1:43
hest9-Dec-02 1:43 
GeneralRe: Translate Pin
xi9049-Dec-02 1:51
xi9049-Dec-02 1:51 
GeneralRe: Translate Pin
jhwurmbach9-Dec-02 1:54
jhwurmbach9-Dec-02 1:54 
GeneralUsing IDL defined enums Pin
Martijn9-Dec-02 1:40
Martijn9-Dec-02 1:40 
I've got a wizard generated ActiveX Control (generated by the "MFC ActiveX Control Wizard", not "ATL COM AppWizard"). I've got an enum defined in my IDL which defines valid input for a property like this:

library MCOMBOLib<br />
{<br />
 importlib(STDOLE_TLB);<br />
 importlib(STDTYPE_TLB);<br />
 typedef enum _ComboboxStyle <br />
 {<br />
  [helpstring("Dropdown")] cbsDropdown = 0x0002L,<br />
  [helpstring("DropdownList")] cbsDropdownList = 0x0003L<br />
 } ComboboxStyle;<br />
 [ uuid(0ABDCD25-EF65-46C6-8F0D-F181400B4A74),<br />
   helpstring("Dispatch interface for MCombo Control"), hidden ]<br />
 dispinterface _DMCombo<br />
 {<br />
  properties:<br />
   //{{AFX_ODL_PROP(CMComboCtrl)<br />
    [id(1)] ComboboxStyle Style;<br />
   //}}AFX_ODL_PROP<br />
 }<br />
 [ uuid(51771D17-EB86-4830-8DF6-D6F8183881C5),<br />
   helpstring("MCombo Control"), control ]<br />
 coclass MCombo<br />
 {<br />
  [default] dispinterface _DMCombo;<br />
 }<br />


The problem is, that when I try to use the value in the constructor (to give the style property a value, it doesn't seem to find the enum at all) Confused | :confused: . Could anyone shed some light on this?

TIA! Big Grin | :-D
GeneralGetClientSite returns NULL Pin
hdi99kf@syd.kth.se9-Dec-02 0:18
hdi99kf@syd.kth.se9-Dec-02 0:18 
QuestionCHtmlView ? Pin
Henrik_O9-Dec-02 0:09
Henrik_O9-Dec-02 0:09 
AnswerRe: CHtmlView ? Pin
Shaun Wilde9-Dec-02 0:34
Shaun Wilde9-Dec-02 0:34 
GeneralVC++ 7.0 compiltaion problem Pin
A victim of VC++ 7.09-Dec-02 0:03
sussA victim of VC++ 7.09-Dec-02 0:03 
GeneralRe: VC++ 7.0 compiltaion problem Pin
Chris Losinger9-Dec-02 5:00
professionalChris Losinger9-Dec-02 5:00 
GeneralHelp! Pin
Rage8-Dec-02 23:39
professionalRage8-Dec-02 23:39 
GeneralRe: Help! Pin
Michael P Butler8-Dec-02 23:54
Michael P Butler8-Dec-02 23:54 
GeneralRe: Help! Pin
~RaGE()9-Dec-02 0:15
suss~RaGE()9-Dec-02 0:15 
GeneralRe: Help! Pin
Michael P Butler9-Dec-02 0:38
Michael P Butler9-Dec-02 0:38 
GeneralWSACreateEvent unidentified ( beginner ) Pin
Ziban20008-Dec-02 23:25
Ziban20008-Dec-02 23:25 
GeneralRe: WSACreateEvent unidentified ( beginner ) Pin
Hans Ruck9-Dec-02 0:06
Hans Ruck9-Dec-02 0:06 
GeneralAdding support for version control software Pin
Henrik Husted8-Dec-02 23:22
Henrik Husted8-Dec-02 23:22 
GeneralDialog window always over main window Pin
rrrado8-Dec-02 22:19
rrrado8-Dec-02 22:19 
GeneralRe: Dialog window always over main window Pin
Christian Graus8-Dec-02 22:28
protectorChristian Graus8-Dec-02 22:28 
GeneralRe: Dialog window always over main window Pin
rrrado8-Dec-02 22:47
rrrado8-Dec-02 22:47 
GeneralRe: Dialog window always over main window Pin
Christian Graus8-Dec-02 22:54
protectorChristian Graus8-Dec-02 22:54 
GeneralRe: Dialog window always over main window Pin
rrrado8-Dec-02 22:59
rrrado8-Dec-02 22:59 

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.