I like to use greek letters and subcript indexes for mathematical expressions and formulas in dialog forms and output strings of my Visual C++ MFC programs. Can some one explain how to do that. Thanks
Andre Dewispelaere 0
Posts
-
Greek leters and subscripts -
Wizardsheet - propertypage and AfxMessageBoxWith Visual C++ Version 6.0 I face a problem that the next property page is not completely drawn after the message box has been closed. In the OnWizardNext() function I check the input fields and if an input is not acceptable I invoke an AfxMessageBox() function with Yes No button to continue or not. If the return value is IDNO I set the return value of the OnWizardNext() funtion to -1, so there is no jump to the next page. If the return from the message box is IDYES I set the return value to the default OnWizardNext() reurn wich is 0. Then a jump to the next page is performed but the next page is only partly drawn. The drawn area corresponds a:)pproximately with the rectangle including the controls in previous page. Can some body give me indications how I can solve this problem ?
-
Multilanguage applicationHello, I found a contribution in this web site about multilanguage applications for Windows NT and Windows 2000 under the title Multilanguage Application - Change Application Language by Daniel Zuppinger under MFC/STL path. My question is how I could proceed for Windows 95/98? I like to know how a second or third language is added in the string table or how a second or third language is added to the dialog forms. The tutorials and text books don't cover this topic. How can the language be chosen or set at compile time and/or at run time ? Thanks for any help.
-
storing a windows postion in the registry...I suggest that you should read the topic about Persistent Frames in the book Inside Visual C++ from Kruglinsky from Microsoft Press.
-
Changing TEXT FILES into Access TablesI suggest to consult the book Inside Visual C++ by Kruglinsky. In this book the basics of ODBC an DAO acces is dealt with.
-
String Table - message boxes interferenceSo far I did'nt receive any reaction on my question. Are you all developing applications with low number of strings in the string table or are you not using the string table at all? I try to explain my problem on another way. What could be the reason when a string or parts from a string from the string table appears unwanted in a message box in stead of a system string, or on a static control or in a button caption as in the print preview ?
-
Printing in Document-View architectureHere you will find how I finally solved the problem. I thank Jonathan for his kind suggestion not to rely on the m_rectDraw in the CInfo structure. But even this does not solve the problem but it helps to have more consistent printwork between different printers. I found a go around the problem by splitting the document in a view with, in my case, three sections as to keep the total number of pages under 8 pages for wich the standard MFC print functions work fine.
-
Printing in Document-View architectureThe number of pages to print from my document can vary from 4 to 10 pages. The printwork consist in a cover page as first page followed by 3 to 9 data pages. Each data page has a header and footer line. I correct the m_rectDraw in the pInfo structure for this header and footer line as indicated in the Scribble tutorial or by Prosise and Kruglinsky in their books. Printing is done in mapping mode MM_TEXT. With my "old" HP600 inktjet printer printing works fine and even the print preview works fine. But printing goes wrong on a HP Laserwriter, HP 1600CM inktjet printer and Lexmark OptraE laser printer on starting the 3rd page this is the 2nd data page,if the document has more than 7 data pages in a lane. How can I solve this problem ?
-
String Table - message boxes interferenceI have an application with more then 400 strings in the string table. Every time the string table grows over a certain number of strings, one of the strings of the string table appears in the alert message boxes instead of the system string to prompt when you have to save to file on closing a window or other error message box. Unwanted parts of a string from the string table apperas as caption in buttons on the print preview window. It seems that something goes wrong in the text segment and the string table overwrites some system strings. How can this be avoided or what I am doing wrong ?