Type: Posts; User: JohnCz
Search took 0.18 seconds.
March 15th, 2014, 02:14 PM
It not edit control problem, it is a problem with creation of the accelerator.
You should use modifier: Ctrl, Alt or both when creating accelerator.
April 25th, 2013, 09:33 AM
I am not sure what you are trying to achieve but from what I gather, you are comparing apples to oranges.
The Win32_PortConnector WMI class represents physical connection ports, such as...
April 25th, 2013, 05:22 AM
Resource editor uses WS_VSCROLL as part of the default set of styles. I do not think there is a need for tinkering with it.
April 24th, 2013, 01:53 PM
What version of VS and SDK you are using?
Is it Win32 app or MFC based? What version of windows you are testing your app?
I wrote sample program with initial number of items set to 20, and after...
January 5th, 2013, 02:18 PM
Is your view derived from CRichEditView?
January 3rd, 2013, 06:01 PM
January 3rd, 2013, 05:09 PM
In your case, the question to ask is: is this hook dll preventing only one (yours) application from running, or others too?
If yours is the only one, it is most likely your application is a culprit....
January 3rd, 2013, 05:01 PM
First of all: do not subclass your control using CEdit class. Derive your own from CEdit and then subclass the control.
Secondly, CDialogEx does not implement ShowKeyboard function unless you are...
January 3rd, 2013, 04:31 PM
Could you please clarify?
Are you having problem with changing font of the displayed text or you have a problem with font typeface selection?
What is the type (class) of the window you...
January 3rd, 2013, 04:20 PM
It is virtually impossible to resolve your problem without analyzing your code and debugging.
Could you please attach your project in a compressed form? Do not include debug/release folders.
January 3rd, 2013, 10:25 AM
I am somewhat confused here.
A question to OOP:
Are you trying to override MFC MDI application default behavior or you are trying to implement MFC "More Windows…" behavior in Win32 application?
August 22nd, 2012, 07:00 PM
Is it necessary to delete and recreate tree item? You just chage a text and if you are using item data change it too.
Yes, please post ypur code.
Can you compress and post your project?
I was trying to follow your instructions but I am not able to duplicate the problem.
OK, you have created project that does the same.
The thing we are asking for is to compress (zip) entire project (solution, project, source and resource files) and attach it to your post.
Indeed, OnPreparePrinting() and OnPrepareDC() should initialize device context properly.
If you do not need something fancy to print, OnDraw should handle printing as it were a screen.
It is really...
I am not sure why did you deliver executable. Did misunderstood Igorís post?
He meant to create project that reproduces a problem, so we will have a chance to see the cause not the effect.
It tells you that your CDC object does not have windows device context attached to it.
I do not know how you instantiate CDC object but both: m_hAttribDC and m_hDC are initiated to the same value...
You can convert string to LPTSTR (or TCHAR) using LPCSTR operator:
CString csTest(_T("Testt String"));
LPTSTR lpszBuff = (LPTSTR)(LPCTSTR)csTest;
TCHAR* pszBuff = ...
I do not know how received data is delivered.
If delivery contains data that is common for all graphs, I would keep data in the document and each view would ask document for needed...
You can use std vector or map whatever suits you better.
If you have MFC support, you can use MFC native equivalents: CStringList or CMap
Is your application using hard coded location of the installed program?
You should use SHGetFolderPath to retrieve program files.
There is more to take under consideration:
You have two choices: register different templates for each graph and invoke new file for each of them.
The drawback is you will have document object created for each template.
If you are using...
Use variables to store responses.
I forgot to add:
I have subclassed rich edit control using standard DDX and CRichEditCtrlEx class. I had to write the code to insert member variable; class wizard is dumb handling CDialogBar derived...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.