Solved

pass a double value via WPARAM

Posted on 2001-06-06
1
665 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
[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
1 Comment
 
LVL 12

Accepted Solution

by:
migel earned 20 total points
ID: 6160076
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Show shut-down message as Windows 8 shuts down. 9 109
iSeries FTP Exit Program 8 173
Expand data scrubbing tool 13 36
Adjust the codes 3 63
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
In this post we will learn different types of Android Layout and some basics of an Android App.
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.

734 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