ATL Composite Control not displaying at design time
Hello gurus ,
I have created a composite ActiveX (control not using MFC) it has couple of buttons,comboboxes, tree views,etc. I am not able to display this control in Design time. I am using VS2008. I can see the control loading successfully at run time but it does not display at design time. I just see a text "ATL Composite control" on the window. Any one encountered the same problem. Any help appreciated.
Thanks!
Sudeep Gangadharan
Re: ATL Composite Control not displaying at design time
At "design time" just draw something which suggests the control's contents (a bitmap, for example).
Re: ATL Composite Control not displaying at design time
Many thanks ovidiucucu,
I have been mulling on this approach but didn proceed bcos i wasnt convinced that this operation is not possible in design time. I had created the same control on C# and the view persisted at the design time. I think there should be some way to work around this problem...
Thank you again for your interest.
Best regards,
Sudeep Gangadharan
Re: ATL Composite Control not displaying at design time
It is your choice.
You have posted in the C++ and WinAPI forum, isn't it?
Re: ATL Composite Control not displaying at design time
Quote:
Any one encountered the same problem.
This is not a problem. This is the way the resource editor works. It notifies your control about running design time mode. :)
Quote:
I think there should be some way to work around this problem...
Well, what's your real problem? You need to see the controls layout at design time? Just place them onto a borderless dialog window and make the latter a composit control's child window.
Re: ATL Composite Control not displaying at design time
My everytime's dream is a resource editor which can play "Avatar" 3D and full HD. :D :D :D