First  |  Prev |  Next  |  Last
Pages: 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767
CMiniFrameWnd and CDialog ???
I am trying to create a dialog based MFC app. (straitforward from the wizard). But now, I want the dialog to have a mini title bar as a CMiniFrameWnd. How can I do it ? Thanks for helping. Franýois. ... 1 Sep 2005 03:32
Printer DC
Hi, How to create printer DC without displaying Print Dialog Box? Thanks. ... 31 Aug 2005 09:08
button Color
How to change color of button control on a dialog. ... 31 Aug 2005 11:12
CPropertyPage
I have a property page created and can add using Addpage(...) to property sheet. How can I set the title of propertypage before doing Addpage(...) to propertysheet? ... 3 Sep 2005 17:33
problem with GetTextMetrics()
isn't TEXTMETRIC.tmMaxCharWidth supposed to be the width of the widest character in the font in pixels? with the DEFAULT_GUI_FONT on XP, shouldn't that be 'W'? 'W' is 9 pixels wide, but tmMaxCharWidth is 22. I'm sure the correct font is selected into the DC which I am running GetTextMetrics() on. ... 8 Sep 2005 07:56
conversion from wchar to char
my problem is i want to convert wchar to char but when i used wctomb function for this function but it shows an error my code is as follows wchar_t buffa[20]; _snwprintf(buffa,sizeof(buffa),L"%s",pTmpBuf->sv101_name); where pTmpBuf->sv101_name is of lpwstr type my problem is pTmpBuf->sv101_name can ... 30 Aug 2005 02:45
ActiveX control with a method returns IPictureDisp canot load in VB
Hello, I wrote an ActiveX control. This control have a mothod to load a picture. This picture was loaded with OleLoadPicture that returns a IPicture implemented object. I call the QueryInterface(IID_IpictureDisp,(LPVOID*)&pPict) to receive a pointer to the IPictureDisp object and return it. But when I call this... 26 Aug 2005 09:54
CreateFile() for USB
Can anyone point me to an example (that works) or specific information on how to enumerate the usb ports, retrieve a device name that will work with CreateFile()? I've been able to enumerate all of the classes with SeteupDiGetClassDevs() but have not been able to get SetupDiEnumDeviceInterfaces() to succeed to ... 25 Aug 2005 09:42
Webcam & createfile
Hi, I would like to access my webcam directly using CreateFile(). I have a Intel Webcam connected directly to one of my USB 1.1 ports on my computer. I have tried to enumerate all the USB devices on my computer using the SetupDiXXX functions but it has not worked very well for me. I also used QueryDosDevice()... 15 Aug 2005 13:30
Converting String to Time
I've a function that format time to string (see below). How do I write a function that converts the formatted string back to time? Could you please include your example with syntax? CString convertTimeToString(const long input_time){ CString str_time; str_time.Format("%.3d:%.2d:%.2d.%.3d", input_time/36... 10 Aug 2005 09:28
First  |  Prev |  Next  |  Last
Pages: 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767