Solved

pass a double value via WPARAM

Posted on 2001-06-06
1
656 Views
Last Modified: 2013-11-20
Hi,
I need to SendMessage with a double value as a parameter (via WPARAM).

What is the most elegant way to do it ?

thanks,
Iris.
0
Comment
Question by:irisz
1 Comment
 
LVL 12

Accepted Solution

by:
migel earned 20 total points
Comment Utility
Hi!
you cant pass double directly, since its size is 8 byte. WPARAM is 4 boyte length.
But you can pass pointer to te double (if you send message to the window your current process owned).
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now