Windows converts DrawText to multiple TextOut calls?
I'm calling DrawText() with the DT_WORDBREAK flag and passing it some text that doesn't fit in the width I give it, so it breaks my text into multiple lines. That's all fine and dandy. What's weird is that I'm calling DrawText() on a metafile DC (enhanced metafile, if you must know) and what I see in the metafil... 27 Mar 2010 18:49
How to know function name by module version and logical address?
I have the call-stack with modules names, versions and logical adresses. How to know functions names, where this exception occurs? I've tried to using WinDbg, but with no luck - is it possible to get information what i want using it? 2010:03:25 14:11:06.640 OS: major = 5; minor = 1; platformid = 2; csd = "Servi... 25 Mar 2010 07:58
My application uses a config.ini file to store some variables, which it saves at the end and reads at program start, such as the content of an edit control or the position and size of the window. It´s a mixture of values and strings, so to make things easier, I´m converting everything to string and write it as plai... 29 Mar 2010 03:40
SymEnumSymbols is getting failed even GetLastError returns 0
Hello, I am calling SymEnumSymbols(GetCurrentProcess(),0,0,Callback,NULL) function of DbgHelp API, for every call its getting failed and as a result callback function for this not called ever. GetLastError() returns 0 that's ERROR_SUCCESS. I have pdb & Exe of which I need to lookup symbols. Any idea...? Regar... 24 Mar 2010 11:09
C++ Win32 forum?
I am a self taught C++/Win 32 programmer and I would like to find some forums to answer questions I have with programs that I write. Often I have a challenge to decide if I have a C++ or a win32 question. For example, I am writing a bitmap program and I have having trouble. What are some good places I can go to l... 25 Mar 2010 02:08
I have a multiline edit control, and I´m trying to scroll it to its bottom after each content update. For that I´m using: SetWindowText(MyEdit,"SomeContent"); SendMessage(MyEdit,WM_VSCROLL,SB_BOTTOM,0); This seems to work fine most of the time, but there are a few users telling me that this will scroll not to... 22 Mar 2010 19:12
BilBlt and SRCPAINT
Win32 API and C I have three stationary overlapping circles on the screen. Their colours are constantly changing. To plot the circles I BitBlt each circle into a single bitmap which I then bitblt onto the screen. When BitBlt'ing each circle onto the single bitmap I use a raster code of SRCPAINT. This... 22 Mar 2010 08:14
I have a UNICODE application including a few edit controls and I would like to let the user choose the font and color for those controls. I´ve created a button that calls ChooseFont() but I have 2 problems: 1) How do I restrict the users choice to UNICODE fonts? By default the application uses "Courier new" which... 21 Mar 2010 10:28
c++ win32 GUI PROGRAMMING HELP NEEDED VERY URGENT
hi all i am new to win32 gui programming for c++. the image is attached here which needs to be developed using c++ win32 api.i need to know how to programme a group radio button?how to add mutilple IDS to .rc file?do i need to create a dialog windows and then add these controls?I cannot use MFC anymore since the... 22 Mar 2010 15:29
Mapping modes during metafile playback - need documentation!
When I am playing back an enhanced metafile using EnumEnhMetaFile(), it appears that the coordinate system functions (GetWindowOrg, GetViewportExt, etc.) all return invalid values. For example, if the metafile says SetMapMode(MM_ISOTROPIC) SetViewportOrg(50, 50) and inside my EnhMetaFileProc (which is simply cal... 19 Mar 2010 09:17