Hi, I need to draw extensive realtime graphics on WinCE platform.
For that purpose, which language is better between VC++ and C# to get high performance?
Moreover, the graphics application that we would be developing should be linked to currently existing c++ modules. If writing intermediate layer involves lot of effort if we choose c#, ...
why does thread procedure should be static or member function?
any valid reason?
...
The program I'm editing uses this code to generate the columns in a listbox:
m_list.InsertColumn(0,_T("Parameter"), LVCFMT_LEFT, 90);
m_list.InsertColumn(1,_T("Show?"), LVCFMT_LEFT, 50);
m_list.InsertColumn(2,_T("Value"), LVCFMT_LEFT, 400);
When the user is using the program, the user can click on a row (cell? I'm not sure of the nome...
The documentation for CFindFile states that
Nonzero if there are more files; zero
if the file found is the last one in
the directory or if an error occurred.
To get extended error information,
call the Win32 function GetLastError.
If the file found is the last file in
the directory, or if no matching files
can be found,...
I would like to add a menu item to my main menu and then populate it with items at run time. How would I do this? And besides adding items how would I have a message map entry for them since I do not know the id?
Thanks and sorry for my english.
...
I need to create a dialog based GUI using VC++/MFC. I am sure it will work with windows OS, but will it work on Linux/Unix or other OS other than windows?
Is QT an alternative good option?
...
I am writing now plugin for FL Studio 9. I have sdk which is intended to work fine with MFC or Win32 Visual C++ 2008 Project. The question is how to make CLR C++ plugin work in Win32 Application in general? I've build the plugin correctly - it is loaded by FL Studio, but only one thing which works is plugin Width and Height properties of...
Hi all.
I have a resizable dialog that contains a CTabCtrl, the tab control has 4 tabs that when clicked on displays one of four different CTreeCtrls.
I have derived a class from CTabCtrl, which keeps track of its "child" controls like so:
...
class Container: public CTabCtrl {
vector<CWnd*> _children;
....
int Container::AddTab(CWnd*...
Hi,
I'm writing an application in c++/MFC and there's a need to create good-quality charts (bar charts, line graphs, maybe even some custom graphics...). As an additional feature, I need to be able to export my graphs in MS Office Graph/Drawing binary file format (so that people can see them in Excel, bitmaps and metafiles just don't c...
m_Pre.ExportAsFixedFormat(path,
PpFixedFormatType.ppFixedFormatTypeXPS,
PpFixedFormatIntent.ppFixedFormatIntentPrint,
Microsoft.Office.Core.MsoTriState.msoTrue,
PpPrintHandoutOrder.ppPrintHandoutHorizontalFirst,
PpPrintOutputType.ppP...
Hello.
I have CWnd in main thread, and a CWnd with a WebBrower control created in a seperate thread.
This is necessary, because the WebBrowser navigates to urls which have javascripts running which will block the WebBrowser. So I with the WebBrowser control in a seperate thread I prevent the GUI Thread vom hang. Also I have done this in...
i am trying to change color of titlebar but as onncpaint is not supported by winc what to do to color non client area like title bar?
...
how to add Scroll bar to a static text in MFC dialog box
...
how to make title bar less window in mfc by code?
...
Hi,
Is it possible to open more dialog boxes at the same time in C++ MFC, when I press a button? How?
(One for background: full-screen and semi-transparent, and one for a dialog box.)
Thank you!
...
i use the following code to make check box background transparent or in my case off white but i can't find what wrong with this plz help me how to do this?
HBRUSH CfvcolorDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
{
HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);
pDC->SetBkColor(MYCOLOR);
if((HBRUSH)brush == NULL...
I am working on a MFC project where I need a separate loop that will run continually or once every few seconds, and each time it may or may not need to run a Dialog to get some input from the user. I was thinking of using AfxBeginThread, but from what I have read about it, it doesn't really work with a continuous loop.
...
I have an app with a customized frame (i.e., caption/titlebar, borders). I customized the frame by removing the WS_CAPTION style, and overriding OnNcCalcSize to reserve a custom-sized area for the caption, which the app paints in OnNcPaint.
A side effect is that the menu bar no longer displays, which is OK because I want to customize th...
Hi All,
I am creating an application which has some of the features like a CAD application has like zooming, panning etc. I have a problem regarding drawing of entities as quickly as possible. I have double buffered the drawing to make it flicker free but I am stuck in clipping the region of the drawing that is I want to draw on those e...
I'm using CLR control in MFC application and after while the dialog get hang. I don't know why and I don't know how to cover it.
Could you please help me ?
...