chear_chear
asked on
How can I put "html control" on tool band
I create tool band with ALT + MFC
I can put CButton or CComboBox to my toolband
but I can not put html control(ActiveX) or Flash Object Control(Activex), it's compilied but error at run-time
so anyone have sample or know
how to add html control to tool band?
help me plz.
thank you.
======
C ? _?
I can put CButton or CComboBox to my toolband
but I can not put html control(ActiveX) or Flash Object Control(Activex), it's compilied but error at run-time
so anyone have sample or know
how to add html control to tool band?
help me plz.
thank you.
======
C ? _?
u mean toolbar maybe?
how are you creating the browser control ? what sort of window is the hosting window?
how are you creating the browser control ? what sort of window is the hosting window?
I'd use CWnd::CreateControl
ASKER
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/shellcc/shell/bands.asp?frame=false&hidetoc=true
you can found band object at above link
Band object have 3 type; ie band, desk band and tool band (like "google toolbar(c)")
I use CWnd::Create to create browser control and I should try to create with CWnd::CreateControl by ShaunWilde's recommand :D
if anyone have solution ... give me please
you can found band object at above link
Band object have 3 type; ie band, desk band and tool band (like "google toolbar(c)")
I use CWnd::Create to create browser control and I should try to create with CWnd::CreateControl by ShaunWilde's recommand :D
if anyone have solution ... give me please
if you have source I can start with I could help but all my books (I have a wizard for toolbands on a CD somewhere) are at home
ASKER
what your email :)
I will send my code to you
I will send my code to you
shaun_wilde@hotmail.com - its also in my profile :)
ASKER
I sent code to shaun_wilde@hotmail.com
thank so much for your help :D
thank so much for your help :D
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
there are some asserts that I can't put a finger on but it seems to survive the experience
ASKER
OH..Excellent thank you so much
Could you send the corrected code to me at chear_chear@yahoo.com
and could you suggest me few book of trick and tip with VC++ :)
thank you so much
you so great
chear_chear
=======
C ^ _^
Could you send the corrected code to me at chear_chear@yahoo.com
and could you suggest me few book of trick and tip with VC++ :)
thank you so much
you so great
chear_chear
=======
C ^ _^
ASKER
I try to add AfxEnableControlContainer( ) and ...
IT WORK!!!!!
Thank god, thank you
IT WORK!!!!!
Thank god, thank you
ASKER
I try to add AfxEnableControlContainer( ) and ...
IT WORK!!!!!
Thank god, thank you
IT WORK!!!!!
Thank god, thank you
that's okay - do you get the asserts? - I've had them in the past and I can't remember what the fix was
ASKER
I got asserts and I don't know howto fix :(
but in release, no error pop to me
but in release, no error pop to me
ASKER
In my project it have CBmpMenu that I found from
http://www.codeguru.com/menu/VerticalBitmapMenu.shtml
but when I put it to my project, it no work there are no error but menu does't appear ?
Do your know why, it not nessesery but if it can , so cool
:>
thank for all help
http://www.codeguru.com/menu/VerticalBitmapMenu.shtml
but when I put it to my project, it no work there are no error but menu does't appear ?
Do your know why, it not nessesery but if it can , so cool
:>
thank for all help
have you set bShowBmp4SubMenu = True when you constructed the CBmpMenu ?
ASKER
I already set bShowBmp4SubMenu =true but it not work , but I use normal CMenu it ok for me :D
I have other question again,Could you help me ?
https://www.experts-exchange.com/jsp/qManageQuestion.jsp?qid=20159728
I have other question again,Could you help me ?
https://www.experts-exchange.com/jsp/qManageQuestion.jsp?qid=20159728
what is it toolband?
how you create it?