Visual c++ 6.0 bitmap moving
-
Maybe a newbie question, but I'll ask anyway. Using visual c++ 6.0, I click and drag a bitmap onto the dialog box, set it to a picture I've imported and there it is on the screen at runtime. Now say I want to click a button that would make that "static" bitmap move across the screen to another location by simply accessing the x,y cooridnates and doing some type of UpdateWindow? The code I've seen on here for pages and pages of DC rect this and that just seems a great deal to do for something that should be so simple. thanx Dimenser
-
Maybe a newbie question, but I'll ask anyway. Using visual c++ 6.0, I click and drag a bitmap onto the dialog box, set it to a picture I've imported and there it is on the screen at runtime. Now say I want to click a button that would make that "static" bitmap move across the screen to another location by simply accessing the x,y cooridnates and doing some type of UpdateWindow? The code I've seen on here for pages and pages of DC rect this and that just seems a great deal to do for something that should be so simple. thanx Dimenser
There is nothing simple about it! It only looks that way to the user. Doing drag and drop is actualy easier, since Windows has built in support for that; otherwise it would be just as hard. INTP