Hide the OK button in windows mobile 6.5

Viewed 1813

I have a winmo application running on win mobile 6.5 using the 2.0 ce framework:

On some forms, I make use of the menu bar to have custom menu items, as seen below Menu bar with custom menu items "More" and "Cancel"

The "More" and "Cancel" buttons have events wired up so that I can actually make the form behave how I want to. But the problem is the "OK" that is always there by default and just closes the current form. I want to remove this completely so that it looks like this

I don't want OK to be displayed at all:

But from what I have been researching so far, it is impossible. I have come across solutions to remove the whole menu bar (I still need the other buttons) or to disable the OK button (but even having it there will confuse the users)

Is this possible?

  • would be cool to also remove the windows "start" button, but not necessary
2 Answers

To Hide/disappear the Ok button or x (close) button,

Enable, controlbox=false.

To disappear/Hide the whole header or menu bar,

Use, WindowState=Maximized.

Related