G
Guest
Hi,
I'd like to add to my PPC app a kind of modal dialog window, which does NOT
stretch over the whole display. Unfortunately, that's exactly what all new
forms in compact framework do by default. (This default rule perpahs made
sense with small displays, but currently on PPC with 640x480..?) The only
workaround I found so far is to set
form.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
but then the form/window is borderless, has no caption, etc.
So my idea is to use WinCE APIs DialogBox(), EndDialog(), and
GetDlgItemxxx(). However, I can't figure out how to test this in emulator,
because it is not clear in which LIB or DLL these APIs are exported. I tried
COREDLL and DLGMGR, but without success.
Also, I didn't find a way how to make my VS 2005 PPC project aware of my
compiled resource file (res) with dialog window template. I can add it to
the project as a file, that's not the problem, but then I would expect to see
and be able to use defines from this resource in other project files, but it
does not work :-(
So I would be really gretaful if someone could post a code snippet, or point
me to a doc, which explains this.
Many thanks !
I'd like to add to my PPC app a kind of modal dialog window, which does NOT
stretch over the whole display. Unfortunately, that's exactly what all new
forms in compact framework do by default. (This default rule perpahs made
sense with small displays, but currently on PPC with 640x480..?) The only
workaround I found so far is to set
form.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
but then the form/window is borderless, has no caption, etc.
So my idea is to use WinCE APIs DialogBox(), EndDialog(), and
GetDlgItemxxx(). However, I can't figure out how to test this in emulator,
because it is not clear in which LIB or DLL these APIs are exported. I tried
COREDLL and DLGMGR, but without success.
Also, I didn't find a way how to make my VS 2005 PPC project aware of my
compiled resource file (res) with dialog window template. I can add it to
the project as a file, that's not the problem, but then I would expect to see
and be able to use defines from this resource in other project files, but it
does not work :-(
So I would be really gretaful if someone could post a code snippet, or point
me to a doc, which explains this.
Many thanks !