Exemple #1
0
func (c *control) SetSize(s Vector) {
	w32.SetWindowPos(c.handle, 0, 0, 0, s.X, s.Y, w32.SWP_NOMOVE|w32.SWP_NOZORDER)
}
Exemple #2
0
func (w *Window) SetSize(s Vector) {
	w32.SetWindowPos(w.handle, 0, 0, 0, s.X, s.Y, w32.SWP_NOMOVE|w32.SWP_NOZORDER)
}
Exemple #3
0
func (c *control) SetPosition(p Vector) {
	w32.SetWindowPos(c.handle, 0, p.X, p.Y, 0, 0, w32.SWP_NOSIZE|w32.SWP_NOZORDER)
}
Exemple #4
0
func (w *Window) SetPosition(p Vector) {
	w32.SetWindowPos(w.handle, 0, p.X, p.Y, 0, 0, w32.SWP_NOSIZE|w32.SWP_NOZORDER)
}