Click here to Skip to main content
15,899,475 members
Home / Discussions / Graphics
   

Graphics

 
GeneralRe: convert .3d file in .x file Pin
Pete O'Hanlon8-Sep-08 2:26
mvePete O'Hanlon8-Sep-08 2:26 
GeneralRe: convert .3d file in .x file Pin
sepel8-Sep-08 17:57
sepel8-Sep-08 17:57 
QuestionSaving image files in ARGB format (with transparency) Pin
pbalaga5-Sep-08 9:23
pbalaga5-Sep-08 9:23 
QuestionDirectX, OpenGL, WPF or XNA? Pin
Uri912-Sep-08 8:18
Uri912-Sep-08 8:18 
AnswerRe: DirectX, OpenGL, WPF or XNA? Pin
John_Adams2-Sep-08 19:26
John_Adams2-Sep-08 19:26 
GeneralRe: DirectX, OpenGL, WPF or XNA? Pin
Uri913-Sep-08 2:19
Uri913-Sep-08 2:19 
GeneralRe: DirectX, OpenGL, WPF or XNA? Pin
Pete O'Hanlon4-Sep-08 10:49
mvePete O'Hanlon4-Sep-08 10:49 
QuestionHow can I have OpenGL in MFC SDI and Dialog at the same time Pin
Member 44253871-Sep-08 3:16
Member 44253871-Sep-08 3:16 
Hi all (thank you for help) I have a program in VS 6.0 c++ that have to have a SDI and a Dialog at the same time with OpenGL. I now how to have OpenGL in a SDI, but when I add a dialog with OpenGL my program crash. I manage from http://www.codeproject.com/KB/docview/dynviews.aspx?display=PrintAll to use his class COpenGLView to draw OpenGL in my SDI and in a Dialog. The problem is when I click inside the OpenGL in the dialog I got "Debug Assertion Failed! ... File: viewcore.cpp Line: 249 ...". I pasted the code were I am creating the Dialog_OpenGL were:
CListBox m_contloLst;
If you can help me to solve the problem with my code.Or if you have an example of a code that has OpenGL in SDI and in a Dialog at the same time, that will help as well.
Thank you for your time. Guillermo

BOOL CAboutDlg::OnInitDialog()
{
CDialog::OnInitDialog();

// TODO: Add extra initialization here
CMyView* m_pNewView;
CRect clientRect;
m_pNewView = new COpenGLView();
m_contloLst.GetClientRect(&clientRect);
if(! m_pNewView->Create(NULL, NULL, WS_VISIBLE | WS_CHILD, clientRect,
&m_contloLst, 4584958/*idNewView*/))
{
TRACE( "Failed view creation\n" );
}


return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}

PS: I tried in other program to use http://www.ddj.com/cpp/184403581;jsessionid=3WVDT5FITQ4OUQSNDLOSKHSCJUNN2JVN?_requestid=88041 but when I compiled with VS 6.0 C++ was not working.
AnswerRe: How can I have OpenGL in MFC SDI and Dialog at the same time Pin
Tim Craig1-Sep-08 19:16
Tim Craig1-Sep-08 19:16 
GeneralRe: How can I have OpenGL in MFC SDI and Dialog at the same time Pin
Member 44253872-Sep-08 0:28
Member 44253872-Sep-08 0:28 
GeneralRe: How can I have OpenGL in MFC SDI and Dialog at the same time Pin
Tim Craig2-Sep-08 18:11
Tim Craig2-Sep-08 18:11 
GeneralRe: How can I have OpenGL in MFC SDI and Dialog at the same time Pin
Member 44253874-Sep-08 7:51
Member 44253874-Sep-08 7:51 
QuestionDrawing a big topographic map in its own coordinates Pin
ianhunt0131-Aug-08 23:36
ianhunt0131-Aug-08 23:36 
QuestionGif animation Pin
The Only Nock28-Aug-08 13:14
The Only Nock28-Aug-08 13:14 
AnswerRe: Gif animation Pin
Mark Salsbery29-Aug-08 11:01
Mark Salsbery29-Aug-08 11:01 
GeneralRe: Gif animation Pin
The Only Nock31-Aug-08 15:56
The Only Nock31-Aug-08 15:56 
GeneralRe: Gif animation Pin
Mark Salsbery1-Sep-08 7:28
Mark Salsbery1-Sep-08 7:28 
QuestionDrawing failed? Pin
Tapio Grönfors28-Aug-08 1:19
Tapio Grönfors28-Aug-08 1:19 
AnswerRe: Drawing failed? Pin
Mark Salsbery28-Aug-08 6:21
Mark Salsbery28-Aug-08 6:21 
GeneralRe: Drawing failed? Pin
Tapio Grönfors28-Aug-08 19:05
Tapio Grönfors28-Aug-08 19:05 
GeneralRe: Drawing failed? Pin
Mark Salsbery29-Aug-08 5:14
Mark Salsbery29-Aug-08 5:14 
AnswerRe: Drawing failed? Pin
Pete O'Hanlon4-Sep-08 10:48
mvePete O'Hanlon4-Sep-08 10:48 
QuestionPiggyback image /overlapped image Pin
sujtha27-Aug-08 23:12
sujtha27-Aug-08 23:12 
QuestionRe: Piggyback image /overlapped image Pin
Mark Salsbery28-Aug-08 6:20
Mark Salsbery28-Aug-08 6:20 
Questionicon file contaning more than one version of the icon Pin
The Only Nock26-Aug-08 17:35
The Only Nock26-Aug-08 17:35 

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.