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 » Dialog on Tab Container Collapse All
Subject Author Date
Dusan Gibarac Apr 4, 2007 - 3:58 PM

On ProdUIS Controls sample, Tab Containers option, we have as a fifth tab a dialog with one edit field which definitions is in class PagePopupMenus. Why there? When I add one more exit control on the dialog and correspondng DDX statement, execution failes with ’An unsupported operation was attempted’. Many variations to do it failed on similar way. Please, can you give one simple example how to descriebe controls on dialog being on a tab page (CExtTabPageContainerWnd).

Suhai Gyorgy Apr 5, 2007 - 1:12 AM

First it was strange what you wrote, but I also opened the same dialog’s resource in Resource Editor, to check ID of Edit. When I didn’t click in the ID field, just hovered above it, it showed value IDC_EDIT_IN_TAB_PAGE_DIALOG. But when I doubleclicked field, it changed to be IDC_EDIT_INCREASE_PERCENT!! It is because that field is a dropdown combo, and the dropdown list’s item directly below IDC_EDIT_IN_TAB_PAGE_DIALOG is IDC_EDIT_INCREASE_PERCENT. So for the first click of doubleclick, the list appeared very-very quickly and second click of doubleclick selected the next ID in list. I think this is also what happened in your case. So the solution: go back to Resource Editor, in ID field of Editbox, make the list drop down and select back IDC_EDIT_IN_TAB_PAGE_DIALOG. I think that will solve all your problems.