Jump to content

Recommended Posts

Posted

Hello,

how can i resize my dialog?

how can i add a ico for my dialog with wich command?

how can i change the title?

and how can i change the text color, background color?

thnx


Posted

For Cmd Promt

Blue Set The Color Of The Background And Text

Green Set The Size Of The Window

Orange Set The Title

This Is A Cmd That Will Echo Back Hello It my Cmd Window

Echo off && CLS && Color f1 && Mode 55,3 && Title My Cmd Window

echo. && Echo    Hello It my Cmd Window && set /p =  Press Any Key To Close

Posted

This is my script:

#include <iostream>

#include <windows.h>

#include <windowsx.h>

#include <stdlib.h>

#include <stdio.h>

#define WIN32_LEAN_AND_MEAN

#define WINDOW_CLASS_NAME "Hallo"

#define WINDOW_WIDTH 400

#define WINDOW_HEIGHT 500

using namespace std;

int main()

{

cout << "Hoi stefan\n";

system("PAUSE");

return 0;

}

This stuff:

#define WIN32_LEAN_AND_MEAN

#define WINDOW_CLASS_NAME "Hallo"

#define WINDOW_WIDTH 400

#define WINDOW_HEIGHT 500

is not working why not?

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...