programmernovice
programmernovice

Reputation: 3941

How to change z-order by one increment in Visual Studio Express?

I'm very surprised there are only 2 options either to send the object to the top or to the bottom ? I just want to change by 1 increment.

Is there any way ?

Upvotes: 0

Views: 598

Answers (1)

Mark Ransom
Mark Ransom

Reputation: 308452

If I understand what you're asking, you need to combine a call to GetNextWindow with SetWindowPos.

Edit: in the resource editor, you can set the Z-order with the Tab Order command. After you've entered the Tab Order function, a number will appear by each control. Control-click the control just before where you want to start ordering, then click each control after that to set it as the next in order.

Upvotes: 1

Related Questions