Graphics into win32 console application

shireen304

Honorable
Jun 1, 2012
2
0
10,510
0
Hello,
I'm programming the battle ship game with win32 console application.. I want to draw two 2D arrays...one that the user can access with the mouse, and the second not accessible.
Can you help me to assume these things, please?
 

theDanijel

Distinguished
May 4, 2011
74
0
18,590
3
You can't have mouse input in a console application.
There are two ways you can do this:
1. Convert to a windows forms application on any window application that can handle mouse input
2. Have your console application just open a new window in what you can draw and handle mouse input
 
Thread starter Similar threads Forum Replies Date
F Apps General Discussion 0
O Apps General Discussion 0
P Apps General Discussion 1
H Apps General Discussion 2
kikani.kautik Apps General Discussion 1
O Apps General Discussion 2
SwissxPiplup Apps General Discussion 1
L Apps General Discussion 14
J Apps General Discussion 2
P Apps General Discussion 1
R Apps General Discussion 3
J Apps General Discussion 1
R Apps General Discussion 2
G Apps General Discussion 2
electro_neanderthal Apps General Discussion 0
V Apps General Discussion 3
S Apps General Discussion 4
H Apps General Discussion 1
V Apps General Discussion 2
H Apps General Discussion 2

ASK THE COMMUNITY