nav-left cat-right
cat-right
Matthias Pospiech > Programming

Threads in MFC

While searching for documentation about Threads in MFC I found the following: Threads in MFC Part I: Worker Threads Threads with...

Extended Qt Classes

Qwt – Qt Widgets for Technical Applications QwtPlot3D...

Howto integrate Qt with Visual Studio

Since I want to learn Qt 4 and use a good IDE I was looking for information how to achieve this with the open source pakcage of qt. Here is what I have found. qt2005.pdf http://wiki.qtcentre.org/index.php?title=Qt4_with_Visual_Studio qtwiki.de http://www.telldus.se/qt/tutorial.pdf http://www.lmprojects.de/qt.html Note: If I was earning money with the coding I would not hesitate to buy a...

Check value of Radiobutton

Radiobuttons in MFC are a mess. It is nevertheless possible to get its values with the following instructions. If one wants to have a group of radiobuttons the most important principle is to add them one ofter the other so that they have a ascending Resource number without any interruption. The first one in the group of radiobuttons has have the value „group=true“. For this one we add an integer Variable, lets...

Set Radio Button at runtime

The following code sets the value of a radio button to checked: CButton *pButton = reinterpret_cast<CButton*>(GetDlgItem(IDC_RADIO1)); pButton->SetCheck(1); // Button is "checked" CButton *pButton = reinterpret_cast<CButton*>(GetDlgItem(IDC_RADIO1)); pButton->SetCheck(1); // Button is...

changing of the mouse cursor

The following code sets the mouse cursor to the waiting state and back to its default before: HCURSOR hCursorWait; HCURSOR hCursorDefault; hCursorWait = LoadCursor(NULL,IDC_WAIT); hCursorDefault = ::SetCursor(hCursorWait);   ::SetCursor(hCursorDefault); HCURSOR hCursorWait; HCURSOR hCursorDefault; hCursorWait = LoadCursor(NULL,IDC_WAIT); hCursorDefault = ::SetCursor(hCursorWait);...
Seite 6 von 8« Erste...45678