First  |  Prev |  Next  |  Last
Pages: 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
"Problems"
Joeseph Newcomer said: "Generally, when problems arise when you are starting an app, it means you are doing something that ends up being out-of-sequence with its preconditions." Perhaps. Late to the party but I wanted to add my experience with VS 2008 and dialogs from extension dlls. Its not at all out of the quest... 12 Feb 2010 23:34
WPF equivalent of TextOut()
What is the Windows Presentation Foundation equivalent of the original Win32 API function TextOut()? BOOL TextOut( HDC hdc, // handle to device context int nXStart, // x-coordinate of starting position int nYStart, // y-coordinate of starting position LPCTSTR lpString, // pointer... 14 Feb 2010 09:35
VC++
CFormview Tom Serface wrote: I was a little sad when they took out the printing mechanisms for new form 07-Nov-07 I was a little sad when they took out the printing mechanisms for new form views, but it's obviously pretty easy to add back in. The views are different, but you usually have to do some fin... 15 Feb 2010 14:21
Displaying rich static text
Hi, What would be the simplest thing I could do to display static text (rich) in a dialog? Looks like a simple static control would not support this.Do I have to use a CRichEditCtrl? TIA, JY ... 12 Feb 2010 04:24
Can I render an HTML Table
Does any one have ideas about creating well formatted tables to display on a printed report. The data is not in any standard database format and the number of rows may be up to 200 so I'd need to paginate in some way. Ideally, I'd like to use CString text to create an HTML table then combine with CSS - but ... 16 Feb 2010 18:24
CRichEditCtrl initialization
Hi, I'm using a CRichEditCtrl control in a dialog. I've added a data member and verified that the control is correctly associated with the member in DoDataExchange() using DDX_Control(). In the application's InitInstance() I've also called AfxInitRichEdit2() as needed for RichEditCtrl initialization. The prob... 12 Feb 2010 01:09
How to get device name?
Hello all: I want to know all the name of devices in my PC, because I want to open them using API CreateFile and test it, how to do?thanks. ... 10 Feb 2010 06:42
wsprintf does not work
sprintf works fine when convert a double to string char array[255]; memset(array,0,255); float value = 2.5432; sprintf(array,"%.2f",value ); array will contain 2.54 But when i use WCHAR* type then sprintf fail to put value in WCHAR array. WCHAR warray[255]; memset(warray,0,sizeof(warray)); wsprintfW(warray... 10 Feb 2010 17:58
Adding controls to a layered window
I want to add a button (CButton) to a layered window. However, the button does not appear (maybe not possible?) but I can get click events if I click where the button should be. Is there a workaround? ....Matt -- Matt Houser http://www.insidercoding.com ... 10 Feb 2010 13:26
Layered Modal Window
I've created modeless layered windows successfully before, now I am trying to create a modal layered window. I am deriving from CWnd and duplicating much of CDialog::DoModal() to accomplish this. It seems to be working, except that pressing Alt+F4 destroys my window, but does not exit from RunModalLoop(). ... 10 Feb 2010 16:50
First  |  Prev |  Next  |  Last
Pages: 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56