repo.or.cz
/
dasher.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tagging release
[dasher.git]
/
trunk
/
Src
/
Win32
/
Widgets
/
Panel.cpp
blob
f4f90ec760d9557b143eaf51121b1555d0040d85
1
#include
"Panel.h"
2
3
Panel
::
Panel
(
HWND Hpanel
):
m_hwnd
(
Hpanel
) {
4
}
5
6
void
Panel
::
Move
(
int
x
,
int
y
,
int
width
,
int
height
) {
7
MoveWindow
(
m_hwnd
,
x
,
y
,
width
,
height
,
TRUE
);
8
}
9
10
void
Panel
::
Paint
() {
11
SendMessage
(
m_hwnd
,
WM_PAINT
,
0
,
0
);
12
}