home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / intervie / 3442 < prev    next >
Encoding:
Text File  |  1992-12-21  |  2.1 KB  |  74 lines

  1. Newsgroups: comp.windows.interviews
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!sun-barr!sh.wide!wnoc-kyo!kuis!kudpc!nucc!f43703a
  3. From: f43703a@nucc.cc.nagoya-u.ac.jp (SUPRATIC GUPTA)
  4. Subject: Help wanted desperately
  5. Message-ID: <1992Dec21.095617.10236@nucc.cc.nagoya-u.ac.jp>
  6. Organization: Nagoya University Computation Center, Nagoya, Japan.
  7. Date: Mon, 21 Dec 1992 09:56:17 GMT
  8. Lines: 64
  9.  
  10.  
  11. I am sorry to say that this question does not relate Interviews.
  12. But I need help desperately. I trieed to read Interviews but in the
  13. end I realised that I cannot do what I want to do in Interviews.
  14.  
  15. What I want?
  16.  
  17. I wanted a color Picture viewer, that run in C++ language.
  18.  
  19. I want absolutely no control with the window.
  20.  
  21. I don't need mouce control also.
  22.  
  23. I have a program That needs to see TIF picture in This order.
  24.  
  25. 1) See Picture    
  26. 2) Do some manipulation
  27. 3) clear screen
  28. 4) See another picture
  29.  
  30. I tried it like this
  31.  
  32. void Gupta1Cmd::seepic(char* name){
  33.  
  34.     Editor* ed = GetEditor();
  35.  
  36.     MacroCmd* macroCmd = new MacroCmd(ed);
  37.     MacroCmd* macroCmd1 = new MacroCmd(ed);
  38.     ImportCmd* import = new ImportCmd(CopyControlInfo());
  39.     GraphicComp* comp = import->TIFF_Image(name);
  40.     Clipboard* clip = new Clipboard(comp);
  41.     PasteCmd* paste_cmd = new PasteCmd(ed, clip);
  42.     macroCmd->Append(paste_cmd);
  43.     macroCmd->Execute();
  44.     int test = 0;
  45.     cin >> test;
  46.     macroCmd1->Append(new CutCmd(ed, clip));
  47.     macroCmd1->Execute();
  48. }
  49.  
  50. But what happens is that First it asks for the input and then
  51. shows the picture and then clears the picture.
  52.  
  53.  
  54. I really don't know what to do. In deep trouble. Any advice,
  55. Any change of program to be used or any help will be appreciated.
  56.  
  57. I realised that Interviews is not built for users like me. 
  58.  
  59. In My program, I never use the editor. I do all manupulation
  60. from the original window.
  61.  
  62. My program is actually a consultation system that interactively
  63. helps user to understand the subject. In this process I need to
  64. show picture as and when required.
  65.  
  66. I desperately need your help
  67.  
  68. Thanking you in advance
  69.  
  70. -- 
  71. With regards
  72.  
  73. SUPRATIC GUPTA
  74.