Tech Support > Microsoft Windows > Development Resources
(Scheduler Latency Part II)
Posted on February 15th, 2006 | 2 Comments

Hi all, after my last posting, I received some information that original windows timers are limited by the internal clock precision which is normally set to 10 ~ 15 ms. I also learned that this can...

Why is XP so slow to shut down?
Posted on February 15th, 2006 | 1 Comments

OK, this is not really a programming question, in the sense that we can do anything about it. But I am really curious as to what XP can be doing during shut-down that make it take about 2 orders of...

Is this Dialog Modal or Non-Modal?
Posted on February 15th, 2006 | 3 Comments

Hi Folks: Is there a method for a dialogproc is tell if it is displaying a modal or modeless dialog? Thanks Larry

Windows Scheduler Latency after WinAPI "Sleep"-Command or Timers
Posted on February 15th, 2006 | 2 Comments

Dear all, I have detected a very strange behaviour of the Windows scheduler concerning its latency. This can be illustrated by the code segment at the end of this mail. The code should simply read...

hai yar
Posted on February 15th, 2006 | 7 Comments

hai all I am a new member of your group.... i nee dsme help from u all... i need to write pseudocode for a program in Visual C++.... pls tell me what is ment by pseudo code? it will be so helpful...

one still need to study MFC today?
Posted on February 15th, 2006 | 17 Comments

hi, i am a unix programmer and want to do some win32 gui programming. years ago, i had some solid experiences on borland's rapid development tool Borland C++ Builder, i had never worked with any...

stl basic_string::clear() missing in platform sdk stl
Posted on February 15th, 2006 | 0 Comments

Hi, I have been using the stl from the Visual Studio .NET 2003 up until recently. We use the member function string::clear() throughout the code. Recently, we moved to the latest platform sdk...

Memory leaks in dialog based app
Posted on February 15th, 2006 | 5 Comments

Hi, Ive a dialog based app (non MFC) and am investigating a couple of memory leaks reported with _CrtDumpMemoryLeaks(); I execute _CrtDumpMemoryLeaks() as the final command at the end of...

Record process cpu time?
Posted on February 14th, 2006 | 1 Comments

Hello, I'm trying to figure out how much time a process spends using the processor resources: something equivalent to what is shown when running the unix time command. For instance, if the process...

lfWidth of LOGFONT
Posted on February 14th, 2006 | 3 Comments

Hi Group, I have a newbie question on the use of LOGFONT's lfWidth field. I would like to know its purpose. As an analogy , let's say I have a LOGFONT structure with lfWidth=13. This font is set...

Enumerating a treeview from a text file
Posted on February 14th, 2006 | 6 Comments

My app is Win32 (VC++ 2003) and I want to populate a treeview from a text file. The text file stores the items as: M;Media;Sound M;Media;Graphics M;Mouse (this string is parsed using the ; as a...

Latencies due to message loop
Posted on February 14th, 2006 | 2 Comments

Hello, In order to implement non blocking sockets in a high priority thread, I have to get windows messages from the queue and then to dispatch it (this is the classic message loop). The problem is...

256 colour icons in a listview
Posted on February 14th, 2006 | 2 Comments

Hello, I have created some 256 colour 16*16 icons to be used in a (report view) listview control, somehow they get converted to 16 colour on display. I am using m_hIcon = (HICON)LoadImage(hInst,...

NEWBIE-What is the equivalent of the given MFC code in WIN32.
Posted on February 13th, 2006 | 2 Comments

hi, I have a dialog box with edit box.After i input a value into edit box and use GetDlgItemText(hWnd, IDC_EDIT1, "xxxx",10); i want to display it in a message box .And instead of "xxxx" i want to...

Multiple icons in listview
Posted on February 13th, 2006 | 1 Comments

I'm able to load 2 icons into an imagelist for my treeview and get different icons for selected and non-selected states. But how do I get a different icon for each item? Changing the index seems to...

Displaying vars in win programs.
Posted on February 13th, 2006 | 5 Comments

I am trying to write a program that contains a window. Right now it is not working and I would like to debug it. The problem that I have is I want to see what the values of some variables are at...

Finding Non-Child in Parent Hierarchy?
Posted on February 13th, 2006 | 1 Comments

Hi Folks: Is there a WIN32 function to find the non-child window in the parent hierarchy of a window or control? SetWindowPos() fails to to put a dialog in Z order behind a child control or...

problem with InsertMenuItem
Posted on February 13th, 2006 | 3 Comments

I am creating a system tray icon that shows up a bunch of menus on right click. I try to populate a pop-up menu with the following function. void CPimonTray::populatePopupMenu(HMENU...

Finding Combobox Edit Control in COMBOBOXINFO?
Posted on February 12th, 2006 | 2 Comments

Hi Folks: Developing on Win2K, VC6, WIN32, no MFC. Needs to run on Win98 and later. I want to detect a right mouse button down, and up, on the edit box or an item in the drop down list of a...

security descriptors
Posted on February 12th, 2006 | 0 Comments

Hi, First post here. I hope I have the right place. I've written a program that collects security descriptors from files and folders and then stores the SDs so that I can reapply them later....