Click here to Skip to main content
15,036,823 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Powering down Win98 system Pin
PJ Arends31-Jan-05 10:45
professionalPJ Arends31-Jan-05 10:45 
GeneralRe: Powering down Win98 system Pin
Still learning how to code31-Jan-05 11:31
MemberStill learning how to code31-Jan-05 11:31 
GeneralCalling th OSK (ON-Screen Keyboard) Pin
Alex Evans30-Jan-05 9:43
MemberAlex Evans30-Jan-05 9:43 
GeneralAlgorithm and necessary code Pin
joy00730-Jan-05 5:57
Memberjoy00730-Jan-05 5:57 
QuestionHow to Enable at runtime Pin
joy00730-Jan-05 5:40
Memberjoy00730-Jan-05 5:40 
AnswerRe: How to Enable at runtime Pin
Bob Ciora30-Jan-05 6:15
MemberBob Ciora30-Jan-05 6:15 
AnswerRe: How to Enable at runtime Pin
Ravi Bhavnani30-Jan-05 6:17
professionalRavi Bhavnani30-Jan-05 6:17 
GeneralCArray can't add Pin
jw8130-Jan-05 5:31
Memberjw8130-Jan-05 5:31 
I have a struct

struct CoData {
float x;
float y;
};

// Adding position of mouse every left click
CArray<codata,codata> arrayPoint;
CoData strRawCoords, strOut;
CString m_list;
if((nFlags & MK_LBUTTON) == MK_LBUTTON) {
strRawCoords.x = point.x;
strRawCoords.y = point.y;
arrayPoint.Add(strRawCoords);
}


// Print out the coordinates when right click
if((nFlags & MK_RBUTTON) == MK_RBUTTON) {
for(int i=0;i<getupperbound();i++) {
="" strout="arrayPoint.GetAt(i);
" m_list.format("%f="" %f",strout.x,strout.y);
="" pdc-="">TextOut(0,0,m_list);
pDC->SetTextColor(RGB(0,0,0));
pDC->SelectObject(NormalPen);
}
}

Cant work.
GeneralRe: CArray can't add Pin
Bob Ciora30-Jan-05 6:09
MemberBob Ciora30-Jan-05 6:09 
GeneralRe: CArray can't add Pin
jw8130-Jan-05 6:50
Memberjw8130-Jan-05 6:50 
GeneralRe: CArray can't add Pin
Bob Ciora30-Jan-05 6:54
MemberBob Ciora30-Jan-05 6:54 
GeneralRe: CArray can't add Pin
jw8130-Jan-05 6:57
Memberjw8130-Jan-05 6:57 
GeneralRe: CArray can't add Pin
Bob Ciora30-Jan-05 7:02
MemberBob Ciora30-Jan-05 7:02 
GeneralRe: CArray can't add Pin
jw8130-Jan-05 19:03
Memberjw8130-Jan-05 19:03 
Questionwhy a COM can not be deleted? Pin
includeh1030-Jan-05 5:15
Memberincludeh1030-Jan-05 5:15 
AnswerRe: why a COM can not be deleted? Pin
Bob Ciora30-Jan-05 6:52
MemberBob Ciora30-Jan-05 6:52 
GeneralRe: why a COM can not be deleted? Pin
includeh1030-Jan-05 10:28
Memberincludeh1030-Jan-05 10:28 
GeneralRe: why a COM can not be deleted? Pin
geo_m30-Jan-05 19:39
Membergeo_m30-Jan-05 19:39 
GeneralTrouble with for(;;) Pin
ghostpirate730-Jan-05 3:20
Memberghostpirate730-Jan-05 3:20 
GeneralRe: Trouble with for(;;) Pin
Bob Ciora30-Jan-05 6:00
MemberBob Ciora30-Jan-05 6:00 
GeneralRe: Trouble with for(;;) Pin
Bob Ciora30-Jan-05 6:32
MemberBob Ciora30-Jan-05 6:32 
QuestionCan not debug COM from ASP.NET ... Pin
vgrigor130-Jan-05 2:27
Membervgrigor130-Jan-05 2:27 
QuestionWhy toolbar disabled? Pin
skybirdcao30-Jan-05 1:17
Memberskybirdcao30-Jan-05 1:17 
Questiona big challenge: how to control toolbar's button size? Pin
skybirdcao30-Jan-05 0:51
Memberskybirdcao30-Jan-05 0:51 
Questionhow to get pixel? Pin
cobre12330-Jan-05 0:46
susscobre12330-Jan-05 0:46 

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.