473,467 Members | 1,603 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How can move picture with mouse in a dialog box

17 New Member
Hello
i put a picture in the dialog box, i want to move this picture on mouse move. and also show new position of this picture in this dialog box.
what should i do?
regard,
Aug 1 '10 #1
4 2307
johny10151981
1,059 Top Contributor
in what platform?
Aug 1 '10 #2
zahraZ
17 New Member
sorry , i don't understand what did yo mean.
please explain more .
it is very necessary for me.
ReGaRd
Aug 1 '10 #3
johny10151981
1,059 Top Contributor
To understand WM_MOUSEMOVE message
WM_MOUSEMOVE
to understand GetClientRect
GetClientRect

to understand SetWindowPos
SetWindowPos

using these three you can implement what you need.

And I hope you understand Win32 Programming
Aug 4 '10 #4
zahraZ
17 New Member
Thanks alot , your answer solved my problem.
Thanks again.
Aug 4 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: CoreyMas | last post by:
Hello All, Here is what I would like to do I am creating a game program that displays a map (preferably in hexes but that is another matter) and whenever the user is over the "map" I want to...
0
by: mihyon | last post by:
I make maximize dialog used 'ShowWindow(SW_MAXIMIZE)'. and void CEds1000_3Dlg::OnLButtonDown(UINT nFlags, CPoint point) { // TODO: Add your message handler code here and/or call default...
3
by: YANSHOF | last post by:
Hi and tanks for Help. i need to do project that contain Photo in BMP or JPG format that i getting from disk or from some file (the user that use my application need to input the file) . i...
6
by: Patrick | last post by:
How do you insert a jpg picture from file on to an area of a dialog box I can do this using picturebox to insert a jpg picture onto a form, but the picturebox control is not available for a...
4
by: eewwttww | last post by:
how to save with only WebBrowser: save html+picture without dialog box? what I Have is: WebBrowser.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_PROMPTUSER, 300, 300 I don't want this code. I want...
1
by: Stefan Mueller | last post by:
With the following code I can change the mouse pointer. However, if you click in Mozilla (with IE it works perfect) on 'Show hourglass' the mouse pointer changes only if you move the mouse at least...
2
by: Glenn Palomar | last post by:
Hi, I'm trying to use the following user32 API's in vb.net: Public Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal...
0
by: marko svaco | last post by:
Hi, I have .Net VB and have worked with it, so I now some stuff in general. It woud be great if someone could help me, or give me some advice. I'm visiting a web page, so all the buttons and so...
0
by: Sorin Schwimmer | last post by:
Hi, My project needs to allow some inter-process communication. That one is solved, and when an answer is sent, it goes to its destination via a signal. Then, the Tkinter screen needs to be...
4
by: marcelo | last post by:
Hey, I need help with this. I want to know what is the mouse position (x,y) and move the mouse (anywhere in the screen) in Visual C++ 2005. I have found a LOT of code in internet but noone...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.