How can i move a control to top of the other when they have overlap together in windows API.
For example i create 2 buttons b1 and b2 ,I want to move b1 to top of the b2 or any control. I used function SetWindowPos as
SetWindowPos(b1, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
but id does not work correctly.
