Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8269159
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T06:07:48+00:00 2026-06-08T06:07:48+00:00

The MSDN link http://msdn.microsoft.com/en-us/library/windows/desktop/ms645469(v=vs.85).aspx explains about the DialogProc callback function . Here I don’t

  • 0

The MSDN link http://msdn.microsoft.com/en-us/library/windows/desktop/ms645469(v=vs.85).aspx

explains about the DialogProc callback function.

Here I don’t see any explanation given about the 2nd parameter (UINT uMsg) in the following signature::

INT_PTR CALLBACK DialogProc(   
  __in  HWND hwndDlg,   
  __in  UINT uMsg,   
  __in  WPARAM wParam,   
  __in  LPARAM lParam   
);   

Can anyone kindly explain what does this 2nd parameter (UINT uMsg) mean. Some detailed explanation (Why we need this uMsg parameter, what is its usage how is it used etc…) on this will be really appreciated. Thanks a lot.

PS: I am new to Callbacj functions, Win32 API programming.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T06:07:50+00:00Added an answer on June 8, 2026 at 6:07 am

    It’s a window message or more precisely a dialog message in this case. The analogous parameter exists also in normal window procedures.

    There are various types of window messages, many of them starting with WM_ or another distinct prefix depending on the window class (class is not meant in the OOP sense here, but rather in the Win32 sense).

    The message says what kind of “operation” is taking place (from the point of view of the window/dialog) or which you want to induce (view from the outside). The parameters lParam and wParam then allow to give more information concerning that “operation”.

    Some messages are merely notifications, others can be sent to windows to induce some operation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In the link http://msdn.microsoft.com/en-us/library/windows/desktop/aa371197%28v=vs.85%29.aspx we see old files are removed. Could please tell us
I checked out this link: http://msdn.microsoft.com/en-us/library/ff769510(v=VS.92).aspx But when I run the default windows phone
http://msdn.microsoft.com/en-us/library/ms189797.aspx In this link they are committing a transaction within catch clause IF (XACT_STATE())
I just read this link http://msdn.microsoft.com/en-us/library/ms186243.aspx Here is the code to create table and
I just downloaded one sample from this link :- http://msdn.microsoft.com/en-us/library/ff431744%28v=VS.92%29.aspx But when i try
This link http://msdn.microsoft.com/en-us/library/aa772153(VS.85).aspx says: You can register up to five notification requests on a
I am trying to enable SQL Debugging following this link http://msdn.microsoft.com/en-us/library/ms165038%28VS.80%29.aspx but i can't
Refering to this link http://msdn.microsoft.com/en-us/library/b1csw23d.aspx it seems that it is not possible with the
I am doing the walkthrough in the following link: http://msdn.microsoft.com/en-us/library/zt39148a%28VS.80%29.aspx I have followed it
Have followed every step correctly from this link http://msdn.microsoft.com/en-us/library/ms746621.aspx When trying to localize the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.