|
|
|
About owner window and owner draw
Tue, 17 Jun 2008 21:02:20 +0800
The owner draw message ONLY send to the owner window, not the parent.
if the window hasn't, it will send it to the top level parent window.
So,how can i set a window's owner window?
...
|
List View - Finding mouse position after getting focus
Mon, 16 Jun 2008 15:08:52 -0700 (PDT)
Hey all,
So I have created a listview window that I've set to report view, with
grids, like so:
VialGrid = CreateWindowEx(NULL, WC_LISTVIEW, "", WS_CHILD | WS_BORDER
| LVS_REPORT | LVS_EDITLABELS | LBS_NOTIFY, 5, 270, 530, 250,
MasterWindowHandle, (HMENU)ID_PDS_VIALGRID, Instance, NULL);
ListView_SetExte ...
|
MoveWindow of a ComboBoxEx control
Mon, 16 Jun 2008 08:55:00 -0700
Using the WIN32 API and standard resource files, I have created a dialog with
a ComboBoxEx control. When I try to move the ComboBoxEx control via the
MoveWindow API, the display rectangle for the ComboBoxEx becomes a white box.
No data is displayed and the dropdown arrow goes away.
After spending a lot of t ...
|
Popup window parent resize issue..
Mon, 16 Jun 2008 20:46:44 +0530
Hi Guys..
I am developing an activeX control using ATL.I need to create a popup
toolbar
for an embedded window.I have created the popup window that works fine..But
when I
resize the IE, the popup toolbars position remains the same.I need to move
the popup
toolbar along with the embeded window..How can I do ...
|
DTPicker and bold dates
Fri, 13 Jun 2008 17:04:34 +0100
Hi all.
The MonthView Common control has the ability to send notifications to
the app to get a list of dates to show bolded.
Does anyone know if it possible to hook into this for the DTPickers
dropdown control?
I've tried picking up the wm_notify messages and they don't seem to be sent.
I'm not 100% su ...
|
Buttons in Custom Control Don't Show.
Thu, 12 Jun 2008 10:28:43 -0700
Hi Folks:
Developing on XP Home, VS 2008 Pro, C++, WIN32, no MFC.
I have a dialog, "IDD_SPLASH_DIALOG", with a custom control
which will be either a login dialog or a logo. This post relates
to the custom control as a login dialog.
The resoruce editor is being used to lay out both the splash
...
|
Mount a virtual disk on Vista
Tue, 10 Jun 2008 00:30:01 -0700
I am developing a virtual disk driver and its application.
They can mount a image file as a drive on WinXP.
On Vista, they also can succeed to create a virtual disk but explorer won't
show it.
I find this is because explorer doesn't run elevated.
What should I do in my application to fix this issue.
Than ...
|
|
|
Modal dialog (MessageBox) in DTN_DATETIMECHANGE handler
Mon, 9 Jun 2008 06:46:01 -0700
I've now used several SysDateTimePick32 / date time picker common controls in
a classic C++/MFC app (developed under VC6). I've noticed that this problem
goes away when using Vista and the new look for the date time picker. However
I'm stuck trying to figure out a way around this.
Easily reproducible; I cre ...
|
Rich Editbox Callback Function
Sun, 8 Jun 2008 03:52:39 -0700 (PDT)
Hey guys,
This regards my rich edit control. I send it a large string (on the
order of a few thousand characters) with the function:
void ForumExportClass::FillExampleExportBox()
{
EDITSTREAM Stream;
string Description;
string rtfPrefix = "{\\rtf1\\ansi\\deff0\\deftab720{\\fonttbl{\\f0\
\froman "
...
|
Windows hooks
Sat, 7 Jun 2008 17:32:03 +0100
Hello,
I've been using windows hooks (SetWindowsHookEx and WinEventHook) to tell me
when a window is created. However, they do not tell me when a dialog/message
box is created. How can I find out when a dialog/message box is created?
TIA
Nic.
...
|
|
|