First  |  Prev |  Next  |  Last
Pages: 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
_tfopen_s( ... )/fread a Japanese file
Hi, I am trying to read a file with some Japanese words. (Well, it has a mix of Japanese and English words). // -------------------------------- // _UNICODE is defined // FILE* fp = 0; errno_t err = _tfopen_s( &fp, _T("name.txt"), _T("rb") ); .... //-- get the file length .... TCHAR* buf = new TCHAR[... 26 Mar 2010 13:12
How to draw custom text on Title bar like "Send Feedback" on windows 7 beta
I want to draw some text on the windows title bar in Windows 7. I was put the drawing text code on the WM_NCPAINT and WM_NCACTIVATE handler. It's activeted when I don't use windows 7 theme. How to draw custom text on Title bar like "Send Feedback" on windows 7 beta. I don't want button style or hyperlink. I want... 24 Mar 2010 03:20
Property Sheet Background Image - RESOLVED
Problem resolved using the proper constructor and initializing. Hector Santos wrote: I'm trying to set the header background image of a wizard mode property sheet programmatically in my subclass contructor, like so: CwcListSheet::CwcListSheet(CWnd* pWndParent) : CPropertySheet(IDS_PROPSHT_CAP... 24 Mar 2010 03:20
Property Sheet Background Image
I'm trying to set the header background image of a wizard mode property sheet programmatically in my subclass contructor, like so: CwcListSheet::CwcListSheet(CWnd* pWndParent) : CPropertySheet(IDS_PROPSHT_CAPTION, pWndParent) { #if 1 // explore wizard header image CBitmap bmHeader; bmHeader.LoadBitma... 24 Mar 2010 00:02
TextOut() to a DialogBox ???
What are the options for directly writing text to a DialogBox? ... 29 Mar 2010 22:33
Mapping modes during metafile playback are screwy?
When I'm in the middle of playing back a metafile using EnumEnhMetaFile(), and call functions like GetWindowOrg() or GetWorldTransform(), I often get weird data and sometimes totally ridiculous data. It seems logical that mapping modes would be screwy during metafile playback, but is there any documentation anyw... 23 Mar 2010 12:30
UAC blocking auto run...
Hello, I have an app I created I need to run following a reboot after an installation - and I am using a key in the HKLM\Software\Microsoft \Windows\CurrentVersion\Run path of the registry to start the process. Running the app manually it works (I get a prompt with a warning coming from the UAC). But when ... 23 Mar 2010 14:50
Tree and List Icon Size
I have a few views based on CTreeCtrl and CListCtrl. The list is set to details view, so never uses large icons. I define an image list for them and add the icons as follows: int nColorDepth = CWindowDC(this).GetDeviceCaps(BITSPIXEL); m_ImageList.Create(16, 16, nColorDepth > 16 ? ILC_COLOR32 : ILC_COLOR24|ILC... 26 Mar 2010 14:23
about debugging problem
I have a .dll project. When I put a breakpoint in a file of .dll project the execution pointer does not match with souce code. Frame work shows YELLOW pointer (current execution line) at line there is no source code available. I have rebuild dll and check same dll is executed for which i have built souce co... 25 Mar 2010 12:40
Terminating Accept
Hi All. Recently I posted a question (http://groups.google.com/group/ microsoft.public.vc.mfc/browse_thread/thread/6ec9bd3dc80c408e#) about a problem regarding closing an app using a system tray icon menu. What I didn't know till now is that the problem was a CAsyncSocket::Accept() function that was waiting fo... 22 Mar 2010 15:33
First  |  Prev |  Next  |  Last
Pages: 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44