-
March 25th, 2010, 01:11 AM
#1
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
-
March 26th, 2010, 01:25 AM
#2
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).
-
March 26th, 2010, 02:06 AM
#3
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
-
March 26th, 2010, 05:26 PM
#4
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?
-
April 4th, 2010, 03:00 PM
#5
Re: ATL Composite Control not displaying at design time
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.
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.
Best regards,
Igor
-
April 6th, 2010, 03:27 PM
#6
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.
Last edited by ovidiucucu; April 6th, 2010 at 03:39 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|