cnodnarb Professional Member
Joined: 11 Sep 2002 Posts: 762 Location: Rockeledge, GA
|
Posted: Wed Apr 20, 2011 4:07 pm Post subject: Help with @sendmsg() SOLVED |
|
|
Disregard.
Code: | %P = @sendmsg(@winexists(#parent),$0086,1,1) |
Works! Thanks for looking ;p
I need help converting this to VDS with @sendmsg() please....
Code: |
private const int WM_NCACTIVATE = 0x0086;
protected override void WndProc(ref Message m)
{
if (m.Msg == WM_NCACTIVATE)
{
// Use this to make it always look inactive:
m.WParam = (IntPtr)0;
// Alternately, use this to make it always look active:
m.WParam = (IntPtr)1;
}
base.WndProc(ref m);
}
|
http://stackoverflow.com/questions/813745/keep-window-inactive-in-appearance-even-when-activated
No dice with Code: | %P = @sendmsg(@winexists(#parent),$0086,@binary(DWORD,$0),@binary(DWORD,$1)) |
|
|