🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #1222

Help wanted desperately

#1222
From: SUPRATIC GUPTA
Date: Mon, 21 Dec 1992 09:56
64 lines
2182 bytes
I am sorry to say that this question does not relate Interviews.
But I need help desperately. I trieed to read Interviews but in the
end I realised that I cannot do what I want to do in Interviews.

What I want?

I wanted a color Picture viewer, that run in C++ language.

I want absolutely no control with the window.

I don't need mouce control also.

I have a program That needs to see TIF picture in This order.

1) See Picture    
2) Do some manipulation
3) clear screen
4) See another picture

I tried it like this

void Gupta1Cmd::seepic(char* name){

    Editor* ed = GetEditor();

    MacroCmd* macroCmd = new MacroCmd(ed);
    MacroCmd* macroCmd1 = new MacroCmd(ed);
    ImportCmd* import = new ImportCmd(CopyControlInfo());
    GraphicComp* comp = import->TIFF_Image(name);
    Clipboard* clip = new Clipboard(comp);
    PasteCmd* paste_cmd = new PasteCmd(ed, clip);
    macroCmd->Append(paste_cmd);
    macroCmd->Execute();
    int test = 0;
    cin >> test;
    macroCmd1->Append(new CutCmd(ed, clip));
    macroCmd1->Execute();
}

But what happens is that First it asks for the input and then
shows the picture and then clears the picture.


I really don't know what to do. In deep trouble. Any advice,
Any change of program to be used or any help will be appreciated.

I realised that Interviews is not built for users like me. 

In My program, I never use the editor. I do all manupulation
from the original window.

My program is actually a consultation system that interactively
helps user to understand the subject. In this process I need to
show picture as and when required.

I desperately need your help

Thanking you in advance

-- 
With regards
 
SUPRATIC GUPTA
Technical Details
Message-ID: <1992Dec21.095617.10236@nucc.cc.nagoya-u.ac.jp>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!sun-barr!sh.wide!wnoc-kyo!kuis!kudpc!nucc!f43703a

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!sun-barr!sh.wide!wnoc-kyo!kuis!kudpc!nucc!f43703a
From: f43703a@nucc.cc.nagoya-u.ac.jp (SUPRATIC GUPTA)
Subject: Help wanted desperately
Message-ID: <1992Dec21.095617.10236@nucc.cc.nagoya-u.ac.jp>
Organization: Nagoya University Computation Center, Nagoya, Japan.
Date: Mon, 21 Dec 1992 09:56:17 GMT
Lines: 64