Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
メインフォームの作成時にコードを実行するにはどうすればよいですか? MessageBox(0, L"Hello World!", L"Debug", MB_OK)たとえば、フォームの作成後、画面に表示される前に呼び出されるシンプルを呼び出す必要があります。前もって感謝します。
MessageBox(0, L"Hello World!", L"Debug", MB_OK)
このフォーム(?? )から継承する新しいクラスを記述します。次に、クラスのコンストラクターで次のコマンドを実行します。QWidgetQMainWindow
QWidget
QMainWindow