Handling NM_RETURN in a List View Hi all- I have created a OWNER_DATA list view using the REPORT view that works real well. I can click on an item and get a NM_DBLCLK message and then get the index of the item that was clicked. My problem is handling NM_RETURN messages. If the user single-clicks on an item, then moves up or down with the cur... 5 Mar 2010 10:31
Redirect stderr/stdout to a file using SetStdHandle Hi all, I have the following code snippet, that tries to redirect a program's standard output/error to a file. HANDLE fHandle; fHandle = CreateFile(...); SetStdHandle(STD_OUTPUT_HANDLE, fHandle); SetStdHandle(STD_ERROR_HANDLE, fHandle); fprintf(stdout, "string #1\n"); fprintf(stderr, "string #2\n"); ... 8 Mar 2010 11:55
How to use tab control in vc++ win32 api (not mfc) ?? Hi guyz, I have been trying hard to use tabcontrol in vc+ win32 api but cant find any tutorials or useful information in msdn to help me. So far i have made 2 dialogs in resource editor Dialog1 and Dialog2 and added tab control to Dialog1 and now i want to display dialog2 as first tabpage on tabcontrol mentioned... 4 Mar 2010 02:20
ReadFile hangs on reading from child process. > Strange hang problem with ReadFile. You're leaving the write end of a pipe open. Since your variable names are confusing, and you appear to be duplicating handles for the fun of it, I've not looked to see which handle(s) this is. ... 4 Mar 2010 05:34
Vista and CSIDL_COMMON_APPDATA - readonly and _hidden_ directory Hi all, I have an application that uses one configuration file which should be the same for all users. This conf file should also be editable by any user. 1) For Win2000 and WinXP it was not a problem to use the SHGetFolderPath function with CSIDL_COMMON_APPDATA which would then be smth like: "C:\Documents an... 9 Mar 2010 07:49
Mapping files at a finer granularity than 64kB On Mar 1, 2:10 pm, David Given <d...(a)cowlark.com> wrote: I have an odd requirement when porting a program. It wants to create memory mapped view of files aligned to 4kB boundaries (it's using the Unix mmap() call). Where does it get 4kB from? Does it call some function? Or is this hard-coded? Mappin... 9 Mar 2010 08:54
Message Queue I want to repaint a part of a specific child window several times within a loop. So far I´ve used for(SomeLoop) { RECT rect = {SomeValues}; InvalidateRect(MyChild,&rect,0); MSG msg; while(PeekMessage(&msg,hwnd,0,0,PM_NOREMOVE)) { GetMessage(&msg,hwnd,0,0); TranslateMessage(&msg); DispatchMessage(&msg); }... 2 Mar 2010 13:31
Ann: GWenerator 0.99 Hello! There is a new release of the GWenerator. What's new: * Ada background or on-demand build * A few improvements on supported controls Download: http://sourceforge.net/projects/gnavi/ What is the GWenerator ? With GWenerator you can design Graphical User Interfaces with various existing software like Vis... 28 Feb 2010 13:20
List pc supported screen resolutions ? Hi, is it possible to simply list the resolutions supported by a pc (graphic card I suppose) in a c++ program ? Thanks ... 1 Mar 2010 05:52
2GB virtual memory limit Hi All, I'm writing small 32bit application. Not managed C++, Qt used for GUI, STL used for data storage, some advanced single thread data processing, millions of small objects. I can't go for 64bit because most of users have 32bit win XP and this can not be changed. Unfortunately I have a problem with 2GB (... 1 Mar 2010 04:46 |