Click here to Skip to main content
16,018,797 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Failed to add precompiled header manually Pin
norish21-Mar-09 2:03
norish21-Mar-09 2:03 
GeneralRe: Failed to add precompiled header manually Pin
followait21-Mar-09 2:27
followait21-Mar-09 2:27 
QuestionDrawing dots and checking coordinates Pin
mass8521-Mar-09 0:45
mass8521-Mar-09 0:45 
AnswerRe: Drawing dots and checking coordinates Pin
Cedric Moonen21-Mar-09 1:04
Cedric Moonen21-Mar-09 1:04 
GeneralRe: Drawing dots and checking coordinates Pin
mass8521-Mar-09 1:27
mass8521-Mar-09 1:27 
GeneralRe: Drawing dots and checking coordinates Pin
Cedric Moonen21-Mar-09 2:11
Cedric Moonen21-Mar-09 2:11 
GeneralRe: Drawing dots and checking coordinates Pin
mass8521-Mar-09 2:23
mass8521-Mar-09 2:23 
QuestionRe: Drawing dots and checking coordinates Pin
mass8523-Mar-09 2:02
mass8523-Mar-09 2:02 
In Java we can use jPanel, jColorChooser and classes:
java.awt.Color
java.awt.Graphics
to obtain such a GUI. This function shows the simplicity of that solution:
private void jPanel1MousePressed(java.awt.event.MouseEvent evt) {                                     
        // TODO add your handling code here:
        int X = evt.getX();
        int Y = evt.getY();
        Graphics gr = jPanel1.getGraphics();
        gr.setColor(jColorChooser1.getColor());
        gr.fillOval(X, Y, 10, 10);
}  


Is there anything similar in C++?
QuestionRemoveDirectoryW() Pin
p_196021-Mar-09 0:39
p_196021-Mar-09 0:39 
AnswerRe: RemoveDirectoryW() Pin
Michael Schubert21-Mar-09 1:17
Michael Schubert21-Mar-09 1:17 
GeneralRe: RemoveDirectoryW() Pin
p_196021-Mar-09 1:27
p_196021-Mar-09 1:27 
GeneralRe: RemoveDirectoryW() Pin
Michael Schubert21-Mar-09 1:39
Michael Schubert21-Mar-09 1:39 
AnswerRe: RemoveDirectoryW() Pin
Dominik Reichl21-Mar-09 1:33
Dominik Reichl21-Mar-09 1:33 
GeneralRe: RemoveDirectoryW() Pin
p_196021-Mar-09 1:46
p_196021-Mar-09 1:46 
GeneralRe: RemoveDirectoryW() Pin
Dominik Reichl21-Mar-09 1:53
Dominik Reichl21-Mar-09 1:53 
GeneralRe: RemoveDirectoryW() Pin
p_196021-Mar-09 2:04
p_196021-Mar-09 2:04 
GeneralRe: RemoveDirectoryW() Pin
Dominik Reichl21-Mar-09 2:13
Dominik Reichl21-Mar-09 2:13 
GeneralRe: RemoveDirectoryW() [modified] Pin
p_196021-Mar-09 3:23
p_196021-Mar-09 3:23 
QuestionGetEnvironmentvariables Pin
siva45520-Mar-09 23:48
siva45520-Mar-09 23:48 
AnswerRe: GetEnvironmentvariables Pin
Stuart Dootson21-Mar-09 0:18
professionalStuart Dootson21-Mar-09 0:18 
GeneralRe: GetEnvironmentvariables Pin
p_196021-Mar-09 2:10
p_196021-Mar-09 2:10 
GeneralRe: GetEnvironmentvariables Pin
JBAK_CP21-Mar-09 4:56
JBAK_CP21-Mar-09 4:56 
GeneralRe: GetEnvironmentvariables Pin
Stuart Dootson21-Mar-09 12:24
professionalStuart Dootson21-Mar-09 12:24 
GeneralUnicode conversion problem(slovak characters) Pin
Vineet Kumar20-Mar-09 23:40
Vineet Kumar20-Mar-09 23:40 
GeneralRe: Unicode conversion problem(slovak characters) Pin
Stuart Dootson21-Mar-09 0:20
professionalStuart Dootson21-Mar-09 0:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.