T
Theo Appelboer
Is it possible to change the size of a Windows object (in this case a
PictureBox) without calling MoveWindow?
I'm writing a plugin for Winamp, in which I want to display a smooth
bar that displays a continuously changing output value.
In this Winamp plugin I cannot use the SendMessage command because it
causes lockups with Winamp. I _can_ use SendDlgItemMessage.
The following code does the job:
MoveWindow(GetDlgItem(pitch_control_hwnd, IDC_BMP), 500, 400, out_val, 10, FALSE);
Unfortunately, MoveWindow uses SendMessage commands internally, so I
get lockups.
How can I change the size without getting any SendMessage calls?
Notes: I know I can use a ProgressBar for this, but in WinXP, they are
not smooth anymore, but drawn with blocks that are too big.
Any other ideas to display a (smooth) bar on the screen with a
changing size are also welcome...
Regards,
Theo
----
PictureBox) without calling MoveWindow?
I'm writing a plugin for Winamp, in which I want to display a smooth
bar that displays a continuously changing output value.
In this Winamp plugin I cannot use the SendMessage command because it
causes lockups with Winamp. I _can_ use SendDlgItemMessage.
The following code does the job:
MoveWindow(GetDlgItem(pitch_control_hwnd, IDC_BMP), 500, 400, out_val, 10, FALSE);
Unfortunately, MoveWindow uses SendMessage commands internally, so I
get lockups.
How can I change the size without getting any SendMessage calls?
Notes: I know I can use a ProgressBar for this, but in WinXP, they are
not smooth anymore, but drawn with blocks that are too big.
Any other ideas to display a (smooth) bar on the screen with a
changing size are also welcome...
Regards,
Theo
----