Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

equivalent to ref Message m in C++/winapi??

$
0
0

Hi All,

I have a C# project that contains this

protected override void WndProc(ref Message m)
        {
            switch (m.Msg)
            {

case WM_INITMENU:

//...

case WM_NCACTIVATE:

if (m.WParam == IntPtr.Zero){

m.Result = MESSAGE_HANDLED;

base.WndProc(ref m);

}

//...

}

}

I'd like to know how to convert this C# code to compatible C++/WINAPI.

thank you very much for helping.


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>