Type: Posts; User: NasterMain
Search took 0.01 seconds.
Sorry for answering so late but I had some more problems.
I solved this way: I created a thread in the main QT application and loaded the mfc library with the main window as modal.
Can you better explain what does this mean please?
I think you can't help me without knowing QTs, however QT is a developer framework to design GUIs. It is cross-platform so you can have the same gui-feel on every os.
My application uses QT to render its interface but I recently encountered a big problem: my application loads a modeless dialog from an external mfc dll; because of mfc architecture...
April 24th, 2008, 11:30 AM
Hi guys, does someone know how to hide or prevent the use of the popup menu that come up when the user click a dialog title icon?
I am searching for a way to do that, for better understanding my...
April 11th, 2008, 07:12 AM
Simple problem (simple to explain.. don't know how to solve :P):
two child windows inside a parent, one normal, one with wndTopMost set
When I pass the mouse over the normal child's...
April 10th, 2008, 02:46 PM
Thanks so much to everyone, problem solved.
This inclusion system is called: "Forward Declarations" and lets two classes perform a "reciprocal inclusion"
Notice that the pointer to...
April 10th, 2008, 11:48 AM
Here are the two include files:
class CPropListBoxDlg; <- THIS SHOULD TELL THE COMPILER A...
April 10th, 2008, 11:41 AM
I searched a little and I found I am trying to include B.h into A.h and A.h into B.h and this is not possible, this mechanism seems to be called "Header Guard"
Using the #define symbols should...
April 10th, 2008, 11:11 AM
No success, same errors :(
April 10th, 2008, 09:24 AM
the .h file of the control subclassed from CTabCtrl
And the error of IDD_MY_DIALOG undefined (that is NOT true, if i remove that include the compiling process goes okay) from the .h file of...
April 10th, 2008, 08:08 AM
Here's an example of what I am trying to do:
#include "MyDialog.h" <- only including this causes me to have a LOT of weird errors
class CTabClass : public CTabCtrl...
April 10th, 2008, 07:40 AM
I am not very pratical with classes interaction and I would like to know why if I declare a CDialog member variable into my subclassed control's class, visual studio gives weird errors like error...
April 9th, 2008, 04:23 PM
Thanks very much Marc, I think i've found a solution :D
April 9th, 2008, 07:14 AM
I have not an error this time, but I need a suggestion
I need to create a properties list, each with a combo box or an edit box besides its description label, as the form properties in visual...
April 9th, 2008, 05:51 AM
You're both right, the CWnd value of pParent was right, but pParent->m_hWnd was null (i was calling the child creation before the parent was created) and there was the WS_DLGFRAME style
April 8th, 2008, 06:21 PM
First member is extended style, and pParent->m_hWnd is a valid handle to parent
April 8th, 2008, 05:59 PM
I am a newbie with CWnd classes and I would like to know how I can implement a little child window inside another one using the CWnd class (I don't want the resource template)
April 4th, 2008, 04:47 PM
You dismiss the modal dialog and the execution continues.. right..
but CheckRadioButton sends a BM_SETCHECK for the item you want to be checked, right?
So every time you call it you are...
April 4th, 2008, 04:37 PM
April 4th, 2008, 11:06 AM
Last post wasn't clear enough.
I need to paint the background of a CStatic control created dynamically this way:
April 3rd, 2008, 03:13 PM
Maybe you cannot debug it because it is packed?
An Exe-packer (like upx, execryptor or similar) is usually used to reduce exe's size and to prevent it from disassembling
If you wanna continue...
April 3rd, 2008, 02:26 PM
Here we are again with my stupid questions.. but I searched google, I searched this forum and could not find a solution.
I usually am able to use controls subclassing, but this time I can't get it...
March 30th, 2008, 03:47 PM
That's the font height. Not the average height. And i need the avg width too. And I need then to call a MapDialogRect to size a rect properly.
March 29th, 2008, 02:05 PM
I didn't post the solution because imho is an horrible solution and sincerely I think someone more skilled could do better.
But if someone wanna get it work without care of the method, you're...
Click Here to Expand Forum to Full Width