Link to home
Create AccountLog in
Avatar of titanium0203
titanium0203

asked on

RegisterWindowMessage in VC++6

Hi All,

Kindly please explain what is the purpose of below statement:

UINT uMsg = RegisterWindowMessage( "ABCOPEN" ) ;
      ::PostMessage( HWND_BROADCAST, uMsg, 0, 0 ) ;

This Statement is in OnCancel() functions and the value for uMsg was 49536. Could someone explain how the above statement get this value?

Regards,
titanium0203
SOLUTION
Avatar of Zoppo
Zoppo
Flag of Germany image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
ASKER CERTIFIED SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of titanium0203
titanium0203

ASKER

Thanks to all