Search:
Type: Posts; User: DieterHammer
Search:
Search took 0.05 seconds.
-
March 30th, 2009, 04:55 AM
I use an ownerdrawn Ctabctrl . In the original version, in
CMyTabCtrl::DrawItem ,
there was a
pDC->FillSolidRect(rect, ::GetSysColor(COLOR_BTNFACE));
Later when using themes on Windows XP, I...
-
June 17th, 2008, 10:40 AM
Hi,
how is this data coded in the .rc file?
I have to translate an existing program to another language. I see every text in the .rc, but the strings in combo-data are repesented as ahex value. Can...
-
April 28th, 2008, 01:49 AM
I have my own class, dervid from CDialog. I use it for all my dialogs.
Can I use it anyhow also for Propertypages?
CpropertyPage ist derived from CDialog, but can I create a CPropertyPage, using my...
-
a CFrameWnd has its builtin Tooltip, I can set its content at TTN_NEEDTEXT.
But can I subclass this CtooltipCtrl with my own Control?
-
April 18th, 2007, 10:24 AM
I can use OBM_COMBO for my ownerdrawn controls, to give them a look like the other ones. But if I use .manifest, my ownerdrawn controls still have the old look. Is there a way , to retrieve the...
-
November 8th, 2006, 03:28 AM
Hi, is it possible, to make a menu item temporary invisible ?
I want make a menu item sometimes to be invisible, sometimes visible.
I know, i can gray it, or remove the item, but than I have to...
-
August 9th, 2006, 09:03 AM
The best solution, is to split your test in .cpp and .h and include .h in test2.
Another one is to type the needed prototypes exlicitely into your test2 file.
(class test blablabla .........)
-
August 9th, 2006, 05:03 AM
Hi,
I have a class derived from cprintdialog. I have to change the prompts of my own EDITs, when the user changes printer-values. Which messages have I to catch, to know, if anything (i.e....
-
December 12th, 2005, 12:52 AM
If I run the example from the 3rd link, it runs without error. But the decvicecontext is always for printer's standard papersize (A4) what's wrong about it?
-
December 8th, 2005, 04:32 AM
I expect, you started the child from the parent.
CChildDlg dlg;
dlg.DoModal()
OR
dlg.create();
So you can simply call:
dlg.Memberfunc() from your parent.
-
December 8th, 2005, 02:28 AM
Help! What's wrong wit this code? I only want to get a HDC for a specified printer and a specified papersize, without dialog. But I get always the default paper. I'm trying since days, and it doesn't...
-
December 6th, 2005, 02:26 AM
Sorry I don't have a solution too. But did you find one?
-
December 1st, 2005, 09:21 AM
Thanx to all, shame on me. I found the answer at http://www.codeguru.com/forum/archive/index.php/t-265429.html
-
November 28th, 2005, 01:27 AM
Thanx, that's just, what I did. The papersize is changed. But this has no influence to the device caps. And my drawing is clipped at the original margins.
-
November 24th, 2005, 04:30 AM
Thank you for the answer.
But if i change devMode.dmPaperLength before CreatePrinterDC, this has no influence to GetDeviceCaps( VERTSIZE ).
The devMode.dmPaperLength seems to be the length of...
-
November 23rd, 2005, 07:55 AM
Hi,
if I got a DC form a printer, can I change the papersizes, i.e. HORZSIZE ?
-
November 23rd, 2005, 07:51 AM
just create it. What's the problem?
in your dll:
void ShowDialog()
{
AFX_MANAGE_STATE(AfxGetStaticModuleState());
// don't forget this!!
MyDialog dlg;
-
August 24th, 2005, 05:53 AM
What happens if you create Control No 256?
-
August 19th, 2005, 07:11 AM
1000 Thanx! With your code it looks good. I didn't notice any difference between W2000 and XP.
-
August 19th, 2005, 04:15 AM
-
August 19th, 2005, 04:10 AM
In the parent application? But I want only one window within the parent application to be "mother" of my child application. The child application is a MDI.
-
August 19th, 2005, 03:12 AM
Hi, I have the same problem, but I have the source for the 2 applications. Is there a solution possible?
I can't set WS_CHILD for the child application, because then its menu is gone.
-
August 18th, 2005, 06:22 AM
Hi,
It looks like the GlobalAlloc works in adress-space of the calling process.
I use WM_CopyData to slove myy problem. :thumbd:
-
August 18th, 2005, 02:27 AM
Hi, What do I wrong?
I want to send from one prozess some data to another.
Sending process:
member CString m_Parameter; int m_Art;
..
..
...
-
August 11th, 2005, 01:02 AM
Hi,
the wrong sprintf statement is only in my message here, I typed this code only here, to show, something happens. The "blabla" is lot of code and I think i wasn'nt helpfull, to cut and paste it...
|
Click Here to Expand Forum to Full Width
|