First  |  Prev |  Next  |  Last
Pages: 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
Scrollbar Thumbsize
I´ve been messing around with SCROLLINFO and its options, yet I can´t find a way to get the size of the thumb in a scrollbar right. If I have a window with a scrollbar, that displays 12 out of 14 entries, Windows sets the thumb size to 1/3 the size of the scrollbar. To my mind the thumb size in this case should b... 19 Jul 2008 07:51
Amount of time lost due to context switching?
This is a bit of a strange question, and I'm actually having a bit of trouble even phrasing it correctly. I have a poorly designed server application that creates a separate thread for every client request and processes a task in that thread. Each thread has its own socket that it can communicate with its corres... 20 Jul 2008 23:44
Question about disk I/O and thread scheduling
Suppose I issue a request to a file from user mode. WriteFile(), for example. Say this operation takes a long time to complete, maybe it's writing a huge amount of data at once. In the middle of the write operation, the OS pre-empts my thread and schedules something else. My question is, while the other thread i... 16 Jul 2008 06:48
redirecting com2 output
Ed Sexton said: I am writing a c program in which I would like to read the output from a second program which writes to the com2 port. Is there a way in Windows to redirect the com2 output to go to standard output so that I can use the pipe symbol to allow my program to read it with a scanf? It's an in... 15 Jul 2008 21:36
Make a *.lib in VS2008
Hi, As some will remember, I'm a VS neophyte and I don't know how to make this one happen. In the General Properties for my project, I've made it a "Static Library (*.lib)." Now, when set to, "Application (*.exe)," VS spits out a <ProjectName>.exe file in the DEBUG directory for me. However, when set to Stati... 16 Jul 2008 14:03
GetOpenFileName() Questions.
Larry Lindstrom wrote: But specifying my DVD burner, D:, that happens to have a blank CD-RW in it, and a non-existent filename, returns either "C:\xxxx" or "G:\xxxx" for the filename, whichever drive was specified prior to the attempt to select D:. There is no filesystem on device D:, so you obviousl... 16 Jul 2008 21:18
outputting a vertical bar on the commandline
Hi! I'm looking for a way to output a vertical bar in a batch file. The problem is that I either quote the output or get an error. Example: echo Debug|Win32 Result (translated from German): The command Win32 was not found or is misspelled. Example: echo "Debug|Win32" Result: "Debug|W... 15 Jul 2008 09:12
displaying bitmaps in cstatic control
Hi, I have an array of bitmap bits and the struct BITMAPINFO. In such a case hw 2 display the bitmap bits on cstatic control in my windows application.?? Plz help me out. ... 18 Jul 2008 02:05
ANN: user- and kernel mode unit testing framework cfix 1.1 released
I am pleased to announce that a new release of cfix is now available on http://cfix.sourceforge.net/. cfix is an xUnit testing framework for C and (unmanaged) C++. Unlike other frameworks, cfix has been specially tailored for Windows development. In addition to user mode unit tests, cfix 1.1 introduces the a... 14 Jul 2008 13:42
Coexistence of XP visual styles (uxtheme.dll) and message (WM_SETFONT)
mity(a)morous.org wrote: I could not find any documentation relevant to this problem, so I would appreciate if you could share your experiences on the topic. Also any knowledge how Microsoft handles this in standard controls would be very helpful. Standard and Common Controls use an internal structure to... 13 Jul 2008 16:08
First  |  Prev |  Next  |  Last
Pages: 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58