Click here to Skip to main content
15,886,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: DirectShow is "no show so far" - need basic help Pin
Richard MacCutchan4-Mar-13 22:57
mveRichard MacCutchan4-Mar-13 22:57 
AnswerRe: DirectShow is "no show so far" - need basic help Pin
SoMad4-Mar-13 23:49
professionalSoMad4-Mar-13 23:49 
GeneralJUST update Re: DirectShow is "no show so far" - need basic help Pin
Vaclav_7-Mar-13 5:03
Vaclav_7-Mar-13 5:03 
QuestionHow to adjust Bitmap onto a picture control in mfc.? Pin
mbatra314-Mar-13 2:01
mbatra314-Mar-13 2:01 
AnswerRe: How to adjust Bitmap onto a picture control in mfc.? Pin
Richard MacCutchan4-Mar-13 23:09
mveRichard MacCutchan4-Mar-13 23:09 
GeneralRe: How to adjust Bitmap onto a picture control in mfc.? Pin
mbatra314-Mar-13 23:15
mbatra314-Mar-13 23:15 
GeneralRe: How to adjust Bitmap onto a picture control in mfc.? Pin
Richard MacCutchan5-Mar-13 0:26
mveRichard MacCutchan5-Mar-13 0:26 
QuestionRotating a single object out of 3 in OpenGL Pin
appollosputnik3-Mar-13 23:53
appollosputnik3-Mar-13 23:53 
I have 3 objects on the screen, I want to rotate onll 2 objects the axis and X,Y,Z. Another line is there which I want not to rotate. But with this code below all are moving. Check below my DrawScene function.
[code]
void CopenGLCoordView::DrawScene(CDC *pDC)
{
wglMakeCurrent(pDC->m_hDC, m_hrc);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glEnable(GL_DEPTH_TEST);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();


if (wd <= ht)
glOrtho(left, right, top*ht/wd, bottom*ht/wd, znear, zfar);
else
glOrtho(left*wd/ht, right*wd/ht, top, bottom, znear, zfar);


glPushMatrix();
glRotatef(rot[0], 1.0f, 0.0f, 0.0f);
glRotatef(rot[1], 0.0f, 1.0f, 0.0f);
glRotatef(rot[2], 0.0f, 0.0f, 1.0f);
glCallList(axes);
glPrintX("X");
glPrintY("Y");
glPrintZ("Z");
glPopMatrix();

drawLine(); //This is also moving...i want this to not to move...


glFlush();
SwapBuffers(pDC->m_hDC);

wglMakeCurrent(NULL, NULL);
} Smile | :)
[/code]
QuestionHow to owner draw a combobox Pin
haha_c3-Mar-13 23:07
haha_c3-Mar-13 23:07 
AnswerRe: How to owner draw a combobox Pin
Richard MacCutchan3-Mar-13 23:33
mveRichard MacCutchan3-Mar-13 23:33 
QuestionWin32_NetworkAdapter class to change network configuration Pin
Sachin k Rajput 3-Mar-13 20:22
Sachin k Rajput 3-Mar-13 20:22 
AnswerRe: Win32_NetworkAdapter class to change network configuration Pin
David Crow4-Mar-13 3:23
David Crow4-Mar-13 3:23 
GeneralRe: Win32_NetworkAdapter class to change network configuration Pin
Sachin k Rajput 4-Mar-13 16:36
Sachin k Rajput 4-Mar-13 16:36 
QuestionHow to implement such such a gradient path like a ring? Pin
kcynic3-Mar-13 19:14
kcynic3-Mar-13 19:14 
AnswerRe: How to implement such such a gradient path like a ring? Pin
Richard MacCutchan3-Mar-13 22:00
mveRichard MacCutchan3-Mar-13 22:00 
GeneralRe: How to implement such such a gradient path like a ring? Pin
kcynic4-Mar-13 14:18
kcynic4-Mar-13 14:18 
GeneralRe: How to implement such such a gradient path like a ring? Pin
Richard MacCutchan4-Mar-13 22:50
mveRichard MacCutchan4-Mar-13 22:50 
QuestionTab key and delete key is not working in win32 browser control Pin
venkatesh528673-Mar-13 18:22
venkatesh528673-Mar-13 18:22 
AnswerRe: Tab key and delete key is not working in win32 browser control Pin
Richard MacCutchan3-Mar-13 21:58
mveRichard MacCutchan3-Mar-13 21:58 
GeneralMessage Closed Pin
3-Mar-13 22:18
venkatesh528673-Mar-13 22:18 
GeneralRe: Tab key and delete key is not working in win32 browser control Pin
Richard MacCutchan3-Mar-13 23:01
mveRichard MacCutchan3-Mar-13 23:01 
Questionadd element to array c++ Pin
Eshoula Aswomwe3-Mar-13 18:10
Eshoula Aswomwe3-Mar-13 18:10 
QuestionRe: add element to array c++ Pin
CPallini3-Mar-13 21:52
mveCPallini3-Mar-13 21:52 
AnswerRe: add element to array c++ Pin
Richard MacCutchan3-Mar-13 21:57
mveRichard MacCutchan3-Mar-13 21:57 
GeneralRe: add element to array c++ Pin
Eshoula Aswomwe3-Mar-13 23:23
Eshoula Aswomwe3-Mar-13 23:23 

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.