I've a problem with how to get the style of the font selected by the CFontDialog plz help
ReplyThis is very good ExReply
I like the way it is explained
ReplyOriginally posted by: dharani
hello auther and all
its a nice article . I have a outlook plugin which when registered will enable two buttons to be added to the Outlook application's toolbar . but when i click the buttons there is a message box fired but when i tried to fire a dialog boxfrom within the OnButtonClick() function of my app it simply does nt execute dlg.DoModal() .Bfeore adding this i recreated the whole plugin with MFC support still the problem is there . replies welcome
thanks in advance
dharanibabus@hotmail.com
Originally posted by: bhavani
Hi Gurus,
This concept is ok.But i want to know how I can place accelerator keys in menu items.I have taken another active-x control in one dialogbox.I placed menu.But the accelerator keys are not working in my component.In previous time otherthan menu accelerator keys are working fine.Can anyone guide me or give me some code.
Thanks....
Originally posted by: Mohammed Yacoob
I tried out a simple active x control which works out great in TestContainer but not in IE. When a message box or dialog is used inside the exported method (not in OnCreate), the WWW service crashes.
Plz help!!!
Originally posted by: Matthias
Thank you very much for the very helpful sourcecode.
I tried the ATL and MFC version and both worked corretly in the Internet Explorer.
But when I try to start them in the Testcontainer (TSTCON32.EXE) the execution totally fails.
Has someone made similar experiences?
Are ActiveX-Conrols with menus conform to the MS-specifications or are they just a work-around, which are not advised to be used in a professional environment.
Greetings from Germany
Matthias
ReplyOriginally posted by: Minh Tam
Thank you!
How can I test it in Windows 98.
Reply
Originally posted by: Sanjay
long lStyle = GetWindowLong(m_hWnd, GWL_STYLE);
//== Loading in the main menu ==\\
The menu does appear and you click on the buttons but they appear grayed out and do nothing. And yes I have set the menu items to run simple functions.
Note the menu appears when I run the activex control in IE whereas in the activex test container (VC++) it doesnt even appear.
Any help is ***DEEPLY*** appreciated,
Sanjay
Hi! I have written an activex control that contains an active document (MSWORD). I tried to generate a menu in the active x control (using MFC) and my code is as follows:
lStyle &= WS_DISABLED;
lStyle |= WS_CAPTION;
SetWindowLong(m_hWnd, GWL_STYLE, lStyle);
CMenu menu;
menu.LoadMenu(IDR_TESTMENU);
OnActivateInPlace (TRUE, NULL);
Originally posted by: Heros
I'm very interested in your ActiveX. You are a man of great talent. Can you help me a way for creating an ActiveX Menu having may changeable language.
Thanks for yor help
Yours sincerely
Heros