|
|
|
Edit control does not display border, only after WM_PAINT called
again
Sat, 23 Aug 2008 04:04:15 -0700 (PDT)
Hi,
I need to create a simple EDIT control on a window application,
without using MFC.
This is the code adding the EDIT control, with the WS_BORDER:
HWND hwndEdit = CreateWindow("EDIT",
NULL,
WS_CHILD | WS_VISIBLE | ES_LEFT | ES_AUTOHSCROLL | WS_BORDER,
650,3,120,23,
hwndTB,
...
|
Missing tab control focus rectangle
Thu, 21 Aug 2008 16:49:34 -0400
I am trying to figure out how to work around a bug with a missing focus
rectangle in a tab control:
My main application window is a dialog and contains a button. When a user
presses the button, the application creates a modal dialog whose owner is
the main window. The modal dialog contains a tab control w ...
|
How to Create new Icon?
Thu, 21 Aug 2008 01:37:40 -0700 (PDT)
Hi,
I'm new to Win32 Programming, and I'm reading Programming
Windows by Charles Petzold.
Now I'm reading the concept of Icons, Menus and other Resources,
and I'm not getting how to create new Icons.
Please give me detailed description regarding Creating an Icon.
Thanking you.
...
|
GetWindowLongPtr(hwnd, GWL_ID); and .net forms
Wed, 20 Aug 2008 17:59:41 +0100
Hello All,
I have a tester appliaction that tests our MFC application by pushing
buttons and filling editboxes, etc. automatically. It identifies the
control windows by the control id, that can be retrieved by
GetWindowLongPtr(hwnd, GWL_ID);
Our application also has a complicated .net dialog written in vb. ...
|
Tool tip display
Tue, 19 Aug 2008 23:33:35 -0700 (PDT)
I am displaying the Tooltip for perticular static control throuht the
subclassing in the WM_MOUSEMOVE message
the problem is whenevr i hold mouse on that image tooltip is
displaying continuously . But i want it to disapear after few
second .
can help me to implement this? ...
|
How to refresh right pane in MMC
Tue, 19 Aug 2008 17:42:00 +0530
Hi,
This question is related to MMC snapin. I dont know exact forum. MMC comes
under GUI part so i post it here. The question is
If i add some items in scope pane (one item which has some chidren is child
of another item), and if i click on left pane on any item then i display its
child items in right pane. ...
|
ScollBars in CDialogBar
Tue, 19 Aug 2008 03:06:01 -0700 (PDT)
Hi,
Does any one have any sample application using scrollbar in CDialog
Bar. I have placed controls on CDialogBar but when toolbar are
dropeed
on it, its sizes shrink and the controls do not become visible.
I have chnaged the setting for CDialogBar to have Horizontal and
Vertical bar. When the scroll bar ...
|
|
|
How to correctly draw a themed radio button? (my radio button is always centered)
Tue, 19 Aug 2008 09:49:01 +0200
Hi,
I would like to draw a radio button using Visual Styles/Themes. I manage to
draw a radio button using DrawThemeBackground, but the radio button is
always centered, not left-aligned.
Here is my code:
hTheme := OpenThemeData(hWindow, 'BUTTON');
GetClientRect(hWindow, rClientRect);
DrawThem ...
|
How do I make tooltip always at top of all windows............?
Sat, 16 Aug 2008 06:55:52 -0700 (PDT)
Dear All,
I have created the too tip control and tried to set the created
tooltip on top of all window.....But still some time tool tip lies
behind the another window......?
I have pasted the code what I have used..............Please any one
help me...
hwndtt = CreateWindowEx(WS_EX_TOPMOST, TOOLTIPS_ ...
|
Single byte to double byte
Fri, 15 Aug 2008 20:20:03 -0700
Greetings,
1) I want to do a file read in which I read single byte but store in a
double byte buffer. Is there a way to do a direct read that will fill a
double-byte buffer with the results of my single byte read?
2) Similarly, I have a very long single byte string in a buffer in memory.
What is the fa ...
|
|
|