VC++ abt buttons
-
Can any one of you tell me how to swap two buttons which are placed on and Dialog box which is MDI based application and the buttons are owner draw buttons kindly suggest me some idea Request to all to continue this
Are you talking about the
MoveWindow()
function?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
-
Can any one of you tell me how to swap two buttons which are placed on and Dialog box which is MDI based application and the buttons are owner draw buttons kindly suggest me some idea Request to all to continue this
By "swap" do you mean showing/hiding the buttons? If so, see the doc on
ShowWindow()
. /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com -
By "swap" do you mean showing/hiding the buttons? If so, see the doc on
ShowWindow()
. /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.comHello What i mean is i want ot select the button on the dialog box and move it along with my mouse and place it on the other button which is also on the current dialog box only and when i place likethat the two buttons should get swaped in there location first of all i am notget the handler of the button on the dialog box i am using GetActiveWindow(); GetWindowRect(); GetClientREct(); non of them are giving me the handle to my button or the coordinates ofthe button plz suggest me some idea Request to all to continue this