Search:
Type: Posts; User: Marco Moscato
Search:
Search took 0.04 seconds.
-
October 11th, 2002, 02:35 AM
Go to web page:
http://www.annoyances.org/exec/forum/win2000/r1027432033
-
October 10th, 2002, 11:08 AM
At first sight, it would be a GDI problem...
-
October 10th, 2002, 11:06 AM
I too use FILE* instead of CFile...
-
October 10th, 2002, 10:56 AM
The answer is quite simple.
You have to subclass the CStatic class (e.g. CMyStatic), then you can associate your control to a member variable of type CMyStatic.
Then you have to handle the...
-
October 10th, 2002, 10:43 AM
Use the API function
DWORD GetVersion(VOID)
You'll find more info in MSDN.
-
October 10th, 2002, 10:21 AM
You can subclass the CButton class (e.g. CMyButton), and handle the event BN_CLICKED.
Then you can create your button (method Create) and you have only to associate it to CMyButton class...!!!
-
March 3rd, 2002, 10:34 AM
Another way is to use CString method GetBuffer()...
Bye!
Marco
THANKS ARE WELCOME, RATINGS MUCH MORE!
-
March 2nd, 2002, 04:08 AM
Hi!
Do what said Mr. Natarajan. Then in OnMouseMove you can use ChildFromWindowPoint to test if the mouse cursor is on a child control (whose you know the handle).
Bye!
Marco
THANKS ARE...
-
March 1st, 2002, 03:03 PM
Do you know that you can give points for answers?
It will help you to receive more and faster answers!
Bye!
Marco
THANKS ARE WELCOME, RATINGS MUCH MORE!
-
March 1st, 2002, 02:50 PM
The promblem is that you use only aa to store you values coming from stream. When you seta[m]=aa
you don't allocate any memory space for a[m], but a[m] is only a pointer, and you are giving to...
-
March 1st, 2002, 02:38 PM
When you create the modeless dialog, set no parent dialog (NULL in pParentWnd).
Bye!
Marco
THANKS ARE WELCOME, RATINGS MUCH MORE!
-
March 1st, 2002, 02:31 PM
Use AfxMessageBox("Your text", MB_OKCANCEL).
It will returns IDOK or IDCANCEL.
Bye!
Marco
THANKS ARE WELCOME, RATINGS MUCH MORE!
-
March 1st, 2002, 02:31 PM
Use AfxMessageBox("Your text", MB_OKCANCEL).
It will returns IDOK or IDCANCEL.
Bye!
Marco
THANKS ARE WELCOME, RATINGS MUCH MORE!
-
March 1st, 2002, 02:21 PM
Hi!
The problem is that you don't allocate any space for your string array...
when you writea[m]=aa
you give to a[m] the address of aa...
so, after the "while" cicle, all your a[m] are pointing...
-
March 1st, 2002, 01:39 PM
Hi!
Use the CFileDialog member "m_ofn", that is a structure of type OPENFILENAME...
See it on MSDN.
Bye!
Marco
THANKS ARE WELCOME, RATINGS MUCH MORE!
-
February 28th, 2002, 05:21 AM
If you use WindowsNT or Windows2000, you can use in your function the SDK function ::GetUserName(), which gives you the name of the user currently logged onto the system, and prevent him to use your...
-
February 28th, 2002, 02:43 AM
By handling OnCtlColor() event on the dialog in which your CStatic is.
HBRUSH CProvaCStaticColorDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
{
HBRUSH hbr = CDialog::OnCtlColor(pDC,...
-
February 27th, 2002, 02:43 PM
To enable (hWnd is your window's handle)
::PostMessage(hWnd,WM_ENABLE,(WPARAM)TRUE,0)
to disable:
::PostMessage(hWnd,WM_ENABLE,(WPARAM)FALSE,0)
-
February 27th, 2002, 02:37 PM
Hi!
you have to import ".tlb" file (use the directive #import in your .idl) of ATL control...
Bye!
Marco
THANKS ARE WELCOME, RATINGS MUCH MORE!
-
February 27th, 2002, 02:30 PM
Hi!
_itoa() and itoa() are the same function.
However you can't use itoa() on UNIX.
Then you can write your version of itoa()...
There is another possibility: instead of itoa(), use...
-
February 21st, 2002, 10:51 AM
Hi.
You have to:
1) use threads (and not timers) to make your images move on the dialog;
2) don't use CStatic to contain your bitmaps: draw directly in OnPaint() function in your dialog class,...
-
February 8th, 2002, 02:01 PM
Is there anybody who knows where can I find a good Direct3D's tutorial?
I'd like to learn anithing about this...
Thank you in advance.
Bye!
Marco
THANKS ARE WELCOME, RATINGS MUCH MORE!
-
February 8th, 2002, 01:50 PM
Johan,
do you use MFC or ATL?
Bye!
Marco
THANKS ARE WELCOME, RATINGS MUCH MORE!
-
February 8th, 2002, 01:49 PM
Yes, Johan.
You have to handle the CWnd's GetSystemMenu().
You'll find all you need in MSDN.
Bye!
Marco
THANKS ARE WELCOME, RATINGS MUCH MORE!
-
August 31st, 2001, 09:24 AM
I did wrong. It was fopen(), not fread().
Bye!
Marco
THANKS ARE WELCOME, RATINGS MUCH MORE!
|
Click Here to Expand Forum to Full Width
|