Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Grid in a Dialog? Collapse All
Subject Author Date
John Kiernan Jul 26, 2006 - 4:34 PM

Are there any examples of GridCtrl’s in dialog box that you could point me too?

John Kiernan Jul 26, 2006 - 4:53 PM

To be clear (I shouldn’t post so late in the day):

I’d like to use a ExtGridCtrlWnd in a Dialog box. Is there any sample code that does something like this?

Suhai Gyorgy Jul 27, 2006 - 1:25 AM

Hi!

Check out the CPageGrid class in Prof-UIS_Controls Sample. That class is derived from CPageBase, which in turn is derived from CExtResizableDialog, the main Dialog class of Prof-UIS. This page of the sample shows the usage of all the possible CExtGridCell types. In the resource look for the dialog IDD_PAGE_GRID. The dialog is fully occupied by a custom control of class ProfUIS-ScrollItemWindow. Probably the rest can be figured out reading the sample code.

Regards:
Chris.

John Kiernan Jul 27, 2006 - 7:39 AM

Great! Thank you.
That’s what I was looking for!

John

Technical Support Jul 27, 2006 - 8:16 AM

Additionally here is a small project that shows how to use the grid in a dialog. It may be helpful with this.

John Kiernan Jul 27, 2006 - 12:19 PM

That is actually a little more helpful and easier to understand.
Thank you!

John