about modeless pop-up dialog box
Thu, 5 Jun 2008 17:59:20 +0800
When i click the modeless pop-up dialog box first time. it LOST focus and
LOST active to another window.when i click it the second time, it then gets
focus and actived, Why?
...
|
How to make this kind of window
Thu, 5 Jun 2008 15:57:19 +0800
when mouse clicks anywhere out the window, the window automatically close
itself.just like the context window in word2007
...
|
what's the diffrence between Foreground Window and Active Window ?
Thu, 5 Jun 2008 11:33:17 +0800
thx~ ...
|
Attempting to read content of Windows Vista magnification control
(WC_MAGNIFIER)
Wed, 04 Jun 2008 17:34:14 +0200
Hello,
I was advised in the past here to take advantage of Windows Vista
Magnification API to get the area of the desktop obscured by a given
window when on Windows Vista with DWM composition turned on.
It is indeed possible for magnification control to filter out unwanted
windows easily by using MagSetW ...
|
Tree Ctrl and Icon
Tue, 3 Jun 2008 21:57:20 -0700 (PDT)
Hi,
I am using tree ctrl which has icons for each item and depending on
some condition I need to make some tree items disabled. I could do
almost everything with NM_CUSTOMDRAW _except for images_.
From research I have done so far, I know that I need to use an
operation which gives the same effect as CImageL ...
|
APC from one Window to another Window
Tue, 03 Jun 2008 13:55:10 +0200
Hi,
i am a newbie in Win32 Api programming, but have some experience in
Dotnet. My problem in Dotnet is very simple to explain. I have two
thread and want to call one function within the other thread. In Dotnet
i would write:
window1.Invoke(new SomeDelegate(myFunctionToInvoke), someArgsAsArray);
But now ...
|
How to set LineTo's line color?
Tue, 3 Jun 2008 16:51:23 +0800
thx! ...
|
|
|
Image + text on a button
Mon, 2 Jun 2008 22:44:27 +0400
Hello, hope this is the right group. 8=]
This is from the MSDN Library page on BM_SETIMAGE:
The appearance of text, an icon, or both on a button control depends on the
BS_ICON and BS_BITMAP styles, and whether the BM_SETIMAGE message is called.
The possible results are as follows:
BS_ICON or BS_BITMAP S ...
|
WM_CHAR Unicode and Code Page
Sat, 31 May 2008 22:14:00 -0700
I have an app. that uses both unicode and code pages.
The app is not using #define _UNICODE
Currently, I get the value of an input character with WM_CHAR. Because
_UNICODE is not defined, WM_CHAR always returns the code page character value
of a keystroke.
I need to get code page value for the char AND the ...
|
SHBrowseForFolder with initial UNC path and no context menu?
Thu, 29 May 2008 19:22:11 +0200
I use SHBrowseForFolder() for selecting folders, but I don't want the
context menu because it makes it too easy for novice users to rename folders
etc.
1: SHBrowseForFolder() without BIF_NEWDIALOGSTYLE don't have a context menu,
but doesn't work well with an initial UNC-path (see:
http://www.eggheadcafe.c ...
|