Microsoft.WindowsCE.Forms.Message : creating new Messages ?

  • Thread starter Thread starter Yannick S.
  • Start date Start date
Y

Yannick S.

hi all,

I develop an app that use Window Message.
In C++ when I want to declare a new Message I use :
const UINT MyMsg = RegisterWindowMessage(_T("TOTO"));

how can I do the same thing with c# CF ?

thx all.
Yannick
 
thx,

I have just wrap the C functions, it works fine
[DllImport("coredll", SetLastError=true)]

public static extern int RegisterWindowMessage(String msg);
 
Back
Top