First  |  Prev |  Next  |  Last
Pages: 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
creating a custom class modeless dialog box
I'm trying to create a custom class name for my modeless dialog box. The following shows a snippet from my .rc file and the code to create the dialog. Everything works fine until I get a NULL handle returned with CreateDialog (which I understand to be a wrapper for CreateWindowEx). The GetLastError is ERROR_SUCCESS... 11 Apr 2010 01:32
Win32 bitmaps
I am trying to create a bitmap object. I have used HBITMAP hbitmap = CreateDIBSection(dc,&bInfo,DIB_RGB_COLORS,&pvBits,NULL,0 ); the bInfo BITMAPINFO is creating bugs along with the array of the bytes that keep getting corrupted. Is there another bitmap command where I can attach a array of bits to a color... 9 Apr 2010 18:58
Wasteful use of fonts?
My code seems to be working, but I am worried that it may be very wasteful. The actual code is a bit complicated, but here is a working cut-down example that (I think) illustrates the point: void makeitalic(HDC hdc) { LOGFONT lf; HGDIOBJ hgdiobj; HFONT hfont; hgdiobj = GetCurrentObject(hdc, OBJ_FONT); GetOb... 18 Apr 2010 20:49
What message control object receive when parent windows is resized?
What message control object receive when parent windows is resized? I have some controls that need to adjust their size when parent is resized. I've googled around but gte too many wrong leads. ... 12 Apr 2010 13:38
OS x64 Identification
Hello, I developp a win32 application and i want this application runs under Windows Server 2008 x64 / x32 - Vista x64 / x32 - Seven x64 / x32, and i need to make some modification for my application to be x64 perfectly compliant. My problem is : how to know if my application runs under an Os 64bits or 32bi... 9 Apr 2010 11:07
Unicode and strings
Hello (pure C and SDK, XP/7) I try to read a directory with cyrillic and western mixed file names. I use FindFirstFileW, WideCharToMultiByte(CP_UFT8... when i write the filename to a text file all is correct (with fwrite) when i add the filename to a listbox i get garbage, idem if i use MessageBoxA to disp... 9 Apr 2010 03:26
Looking for Open XML SDK tutorial in C++
I am looking for guidance to get started with the Open XML SDK. I program in C++ and only deal with spreadsheets. I downloaded the Open XML SDK 2.0. It comes with some DLLs in a 'lib' folder, but there are no include files. How come? Thanks in advance, -Ramon ... 6 Apr 2010 22:03
Usenet is not an ASCII network.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <blockquote cite="mid:elmr87-77i.ln1(a)" type="cite"> <blockquote type="cite"> <p>P... 7 Apr 2010 04:34
ChooseFont() CF_EFFECTS
Calling ChooseFont() with .Flags = CF_EFFECTS will allow the user to choose a color for the font, but the choice is limited to 16 colors. Is there a way to extend the choice to more colors? ... 7 Apr 2010 12:20
Netiquette (was: Re: Getting a hConsoleOutput handle wasn't the real problem)
[Note: deliberately ignoring f'up] Jonathan de Boyne Pollard wrote: <blockquote cite="mid:Xns9D4CE3334E264xmvuorikolumbusfi(a)" type="cite"> <p>Please, don't post HTML to newsgroups.</p> </blockquote> <p>Please learn about Usenet, and about the <em>actual</em> distinction, between te... 6 Apr 2010 09:39
First  |  Prev |  Next  |  Last
Pages: 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29