von pospiech | Juli 7, 2007 | C++, Qt
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 Klicke, um auf...
von pospiech | Juni 7, 2007 | MFC
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...
von pospiech | Juni 7, 2007 | MFC
The following code sets the value of a radio button to checked: CButton *pButton = reinterpret_cast(GetDlgItem(IDC_RADIO1)); pButton->SetCheck(1); // Button is “checked”
von pospiech | Mai 31, 2007 | LaTeX
In meiner LaTeX Vorlage hatte ich Abfragen eingebaut die auf die Existenz von Befehlen als auch der geladenen Klassen prüfen. Davon ausgehend hat mich Markus Kohm darauf hingewiesen dass es grundsätzlich keine gute Idee ist auf die geladene Klasse zu...
von pospiech | Mai 21, 2007 | MFC
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);