Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

What is LPNMUPDOWN

Posted on 1999-07-29
4
Medium Priority
?
792 Views
Last Modified: 2013-12-03
I am using Mingw32 to compile a Win32 GUI class and it stops on undefined 'LPNMUPDOWN'?
0
Comment
Question by:dalehend
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
rayb earned 60 total points
ID: 1404120
It's an address to an NMUPDOWN structure.

typedef struct _NM_UPDOWN {
    NMHDR hdr;
    int   iPos;
    int   iDelta;
} NMUPDOWN, FAR *LPNMUPDOWN;

0
 
LVL 3

Author Comment

by:dalehend
ID: 1404121
Will the above be able to handle this:

LPNMUPDOWN lpnmud = (LPNMUPDOWN)lParam;
 
 wxSpinEvent event(lpnmud->iDelta > 0 ? wxEVT_SCROLL_LINEUP
                                         : wxEVT_SCROLL_LINEDOWN,
                      m_windowId);
 event.SetPosition(lpnmud->iPos + lpnmud->iDelta);
0
 
LVL 2

Expert Comment

by:rayb
ID: 1404122
I can't really comment on wxSpinEvent as I don't know what it is, but your references to the NMUPDOWN structure look correct to me.


0
 
LVL 3

Author Comment

by:dalehend
ID: 1404123
Thanks. I ended up using older source code without the LPNMUPDOWN ;-)
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

662 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question