Skip to main content
GameDev.net gamedev.net
🔒 Locked

selectable/movable images?

Started by eedok Jan 21, 2004 at 10:58 PM 1 replies 300+ views
Original Post
eedok
eedok
I am currently programming a small script parser in C, and I want to be able to create dialogs and put buttons and other objects on the dialog, like a simplified resource editor. In most resource editors they use images that can be selected, resized and moved around, is there any place I can get information on how to make these kinds of things?
eedok
eedok
Well.. The one that comes with the win32 API... aka GDI

Looking at the API I got these functions so far PtInRect to translate the mouse click to the corresponding Rectangle, OffsetRect to move the Rectangles, and InflateRect to resize the Rectangle. I think I'll be able to get the rest on my own, so thx anyways..

[edited by - eedok on January 22, 2004 12:33:30 PM]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.