Click here to Skip to main content
15,891,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to get processor status in a network? Pin
9-Jul-01 4:03
suss9-Jul-01 4:03 
QuestionHow I can do that? Pin
6-Jul-01 9:33
suss6-Jul-01 9:33 
AnswerRe: How I can do that? Pin
Christian Graus8-Jul-01 2:47
protectorChristian Graus8-Jul-01 2:47 
GeneralRe: How I can do that? Pin
8-Jul-01 8:24
suss8-Jul-01 8:24 
GeneralRe: How I can do that? Pin
Christian Graus8-Jul-01 12:37
protectorChristian Graus8-Jul-01 12:37 
QuestionDrag and drop within a TreeView? Pin
6-Jul-01 9:05
suss6-Jul-01 9:05 
AnswerRe: Drag and drop within a TreeView? Pin
Tomasz Sowinski8-Jul-01 23:49
Tomasz Sowinski8-Jul-01 23:49 
Generalusing OpenDocumentFile( ) to open series if bimaps Pin
mr20036-Jul-01 8:47
mr20036-Jul-01 8:47 
Hi,
In my MDI application, I have a dialog box that the user can select at most 30 files(bitmaps).
then I store those file path names in a CStringArray(m_Array) in my Doc class.
there a button( on the toolbar) to click on, everytime I have to open the next image.

my problem is that I don't know how to open the next image in a new document.
I don't know what code to use.
the following is what i thought to start with.

void CTurboMechView::OnWindowNextimage()
{
// TODO: Add your command handler code here
CWinApp* pApp=AfxGetApp();

CMainFrame *ptr=(CMainFrame*)GetParent();
CTurboMechDoc* pDoc=(CTurboMechDoc*) ptr->GetActiveDocument();
pApp->OpenDocumentFile(m_Array.GetData()[1]);


}

any suggestions?
Confused | :confused:

Ehsan Behboudi
GeneralRe: using OpenDocumentFile( ) to open series if bimaps Pin
Ben Burnett6-Jul-01 13:48
Ben Burnett6-Jul-01 13:48 
GeneralDll Class Export Problem Pin
6-Jul-01 7:54
suss6-Jul-01 7:54 
GeneralRe: Dll Class Export Problem Pin
Oscar Londono6-Jul-01 8:01
Oscar Londono6-Jul-01 8:01 
GeneralRe: Dll Class Export Problem Pin
6-Jul-01 8:38
suss6-Jul-01 8:38 
GeneralRe: Dll Class Export Problem Pin
6-Jul-01 12:20
suss6-Jul-01 12:20 
GeneralRe: Dll Class Export Problem Pin
Pavlos Touboulidis6-Jul-01 14:16
Pavlos Touboulidis6-Jul-01 14:16 
GeneralRe: Dll Class Export Problem Pin
6-Jul-01 14:54
suss6-Jul-01 14:54 
QuestionPopup menus without MFC? Pin
6-Jul-01 6:13
suss6-Jul-01 6:13 
AnswerRe: Popup menus without MFC? Pin
Tomasz Sowinski6-Jul-01 6:33
Tomasz Sowinski6-Jul-01 6:33 
GeneralRe: Popup menus without MFC? Pin
6-Jul-01 8:25
suss6-Jul-01 8:25 
QuestionHow can I convert a LOGFONT's lfHeight into a CHARFORMAT's yHeight without a handle to a dc? Pin
Bart-Man6-Jul-01 6:02
Bart-Man6-Jul-01 6:02 
Generalquestion about memory allocation in win32 dll Pin
Jim Howard6-Jul-01 6:01
Jim Howard6-Jul-01 6:01 
GeneralRe: question about memory allocation in win32 dll Pin
Tomasz Sowinski6-Jul-01 6:40
Tomasz Sowinski6-Jul-01 6:40 
GeneralRe: question about memory allocation in win32 dll Pin
Jim Howard6-Jul-01 6:58
Jim Howard6-Jul-01 6:58 
GeneralRe: question about memory allocation in win32 dll Pin
Tomasz Sowinski6-Jul-01 7:07
Tomasz Sowinski6-Jul-01 7:07 
GeneralRe: question about memory allocation in win32 dll Pin
Jim Howard6-Jul-01 8:20
Jim Howard6-Jul-01 8:20 
GeneralFollowup to : question about memory allocation in win32 dll Pin
Jim Howard6-Jul-01 8:59
Jim Howard6-Jul-01 8:59 

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.