April 25th, 2022, 04:15 PM
Changed the code, but output is the same:
#include <windows.h>
#include <stdio.h>
int main()
{
HANDLE hCon = GetStdHandle(STD_OUTPUT_HANDLE);
April 25th, 2022, 12:46 PM
I would like to change the aspect and the format fo the shell used to launch the following code:
#include <windows.h>
#include <stdio.h>
int main()
{
HANDLE hCon =...
April 12th, 2022, 12:40 PM
Hello
i've compiled the following app:
main.cpp:
#include <afxwin.h>
#include "resource.h"
class C_MyApp : public CWinApp
{
March 26th, 2022, 06:42 AM
Hello
i'm just trying to do some basic example of dynamic programming and i've an issue with the following code:
#include <cstdio>
#include <vector>
#include <ctime>
using namespace std;
...
March 7th, 2022, 05:37 AM
Did it with the following code:
a.Create(m_pMainWnd, CBRS_TOP, IDR_TOOLBAR1);
March 6th, 2022, 07:23 PM
Ok, found the include. The following code is compiled without errors but the toolbar is not showed:
#include <afxwin.h>
#include<afxext.h>
#include "resource.h"
class CResApp : public CWinApp...
March 6th, 2022, 05:35 PM
Hello
i try to create a simple toolbar with a mfc but the compiler can't find the class CToolbar:
#include <afxwin.h>
#include "resource.h"
class CResApp : public CWinApp
{
public:
February 28th, 2022, 01:05 PM
Thx. Anyway where i could find the full reference of the message map code in the ms documentation?
February 27th, 2022, 04:21 PM
Hello
i'd like to add an event handler on a mfc application for the left mouse of the button but i can't find the declaration to add in the MESSAGE_MAP block.
I can't find the macro list in the API...