On Windows CE how do I prevent my menu from covering up my form - windows-ce

I am having a problem where on some of my forms my menu bar is covering up my controls
But there are also some instances where my controls automatically line up below my menu
What do I need to do in my forms so that my controls always line up below my menu?

I discovered that the ability of a control to adjust its location to below the menu requires the control to be dock to the form. If you are using non-docked controls you need to place them in side a panel and then dock that panel to the form.

Related

How to disable a whole drop-down menu on Electron?

I am developing a desktop application with Electron. I have added some items to the menu bar.
Sometimes I open some modal forms with bootstrap in the program. When these popups are open I want to disable the menu items.
I have made some research and some people says that the menu bar could be removed. But I do not want to create my own HTML menu.
And there is another option, maybe the best approach. Disabling all the options of each dropdown menu. Each menuitem has an enabled attribute, so it can be changed in runtime.
Is there way to avoid dropping down the menu and disable the drop-down menu?
Dynamic menus are not currently supported. This has something to do with the fact that the menus in Electron use the Chromium menu code which has no dynamic features.
When your File menu is empty, you could replace the entire menu with one that does not have the File menu in it?

oracle apex 5 - how to reorder pages in menu

I am dveloping an app in Oracle APEX 5. All of my pages have menu entry on the left-side menu, but the order of the pages in menu is different to the page numbers. Is there a way how to reorder pages in the menu?
Assuming your menu on the left is a standard APEX Universal Theme navigation menu, you do it like this:
Go to Shared Components
Click on Navigation Menu (under Navigation heading)
Click on the menu name
You should now see all the menu options for that menu, which have a sequence number. Either edit the individual options or use Grid Edit and change the sequence numbers to give the order you want.

Tab stop order for controls residing inside Tab control?

In my MFC application, which is a modeless dialog by itself, has a Tab control along with many other controls. And Tab control has two tabs, and dialogs are inserted into those.
This tab control is preceded and followed by other controls in the tabbing order. And when tab key gets to the tab control, It doesn't go into the dialogs inside tab, instead it moves to the next control in the application. I want that to go into the tab dialog and navigate through controls inside it.
At the moment, Tab key visits these dialogs inside tabs after visiting all controls in my application(modeless dialog).
How do I or where do I set tab order such that the tab key goes into the tab control dialogs ?
Research the WS_EX_CONTROLPARENT window style. MSDN:
"If this style is specified, the dialog manager recurses into children of this window when performing navigation operations such as handling the TAB key, an arrow key, or a keyboard mnemonic."

Keep taskbar icon, replace MFC dialog

I have a MFC dialog based application. User can change the language of the dialog, and I made this by closing existing dialog, and opening another with changed language. The problem is that the effect in the taskbar is that one icon is removed, and another identical is created in its place. If my application's icon is not the last icon in the task bar it will be perceived as it was moved to the end of taskbar icon set.
I want to retain icon's position in the taskbar, and rather to prevent icon flicker at all from happening. How do I do that?
The application must support OS'es from Windows XP to Windows 7.
EDIT: alternative question for which I would accept an answer is how to create an invisible window that is nevertheless shown in the taskbar, and how to forward relevant window messages from that window to my main window?
Make the dialog a child of another outer parent window. The parent can be a dialog or any other kind of window; all it will be providing is the title bar. If the user tries to resize it it will have to forward resizing commands to the dialog, but otherwise you shouldn't need to do much in the parent window.
Why not replace the dialog with a CFormView instead? That way there's a frame window that wraps around the dialog (which is embedded in a form view) and it's the frame window that owns the taskbar icon.
Create an SDI application that displays a CFormView. Display the dialog in the default language (or whatever langauge the user previously chose) on initialization. When the user chooses the 'change language' option, simply change the form view that's being displayed with a new one.
Bonus feature: with this design, the framework will take care of things like language-specific accelerators and menus for you with no effort on your part.
For more on how to do this, check out http://www.codeguru.com/cpp/w-d/doc_view/viewmanagement/article.php/c3341/Multiple-Views-Using-SDI.htm

Custom Backstage View Tab like standard tab FileNew

I want to design own custom backstage view tab that has desing like standard tab FileNew.
How can I (and can I at all) use such tab elements like scrollable button set or large borderless button with text at bottom of one.
There are elements in the BackStage Tabs which are built-in and not available form the programming side. For example, all the individual controls on the Print Backstage Tab cannot be re-used by a developer. I'm afraid that we have the same problem with the File New Backstage. The previews are built-in. You can verify this if you look into the WordControls.xlsx file delivered with the Office 2010 Control-IDs download: There are no controls for the TabNew except for "GroupNewFormTemplates", "GroupNew2003Dialog" and "GroupNewFormPreview".
You can only re-use controls which are defined in the Ribbon Scheme, as Combobox, Edit Control, Button, and so on.
So to display your templates, you must use these default controls, or built something completely different.

Resources