.misc,comp.os.os2.setup.storage   
   os2.ecomstation:900 comp.os.os2.misc:3117 comp.os.os2.setup.storage:396   
   From: "Alex Taylor"    
      
   On Wed, 30 Mar 2011 15:10:18 UTC, Brian Smith wrote:   
      
   > > Off the top of my head, the main hurdles I ran into at the time were   
   > > lack of support for app-modal dialogs, and that I couldn't find any   
   > > way to hook up a scrollbar to a custom canvas (although that one may   
   > > have been a documentation issue).   
   >    
   > That is true I didn't add support for modal dialogs, which is kind of   
   > a personal philosophy. I have rarely seen the need for them in   
   > applications, they seem to be abused by programmers. There may be a   
   > way to do it though since Dynamic Windows is a native API... so even   
   > if our API doesn't support things directly... you can pass in native   
   > flags and use native functions (as long as you either use #ifdef   
   > __OS2___ or don't care about being cross platform).   
   >    
   > Can you give me an example of when a modal dialog would be necessary?   
      
   They are generally useful for prompt dialogs or other things where it's   
   natural to suspend interaction with the primary window. And there are   
   many cases where there's no particular need to have a non-modal dialog   
   but it would be extra work to properly manage one (e.g. working out   
   how to handle messages when a dialog is open).   
      
      
   > The second part is probably documentation... connect   
   > DW_SIGNAL_VALUE_CHANGED to a scrollbar created with dw_scrollbar_new()   
   > will fire your callback whenever the scrollbar is moved... you can   
   > then adjust your canvas... This is demonstrated in the test program   
   > using the render area widget. (You have to choose a text file with   
   > the "Browse" button on the first tab... then switch to the Render tab   
   > to see the demonstration).   
   >    
   > Also, I plan to work on getting updated documentation up on my web   
   > site once I finish the work I am doing now.... so hopefully that will   
   > help.   
      
   OK, useful to know. Thanks!   
      
      
   --    
   Alex Taylor   
   Fukushima, Japan   
   http://www.socis.ca/~ataylo00   
      
   Please take off hat when replying.   
      
   --- Internet Rex 2.31   
    * Origin: Newscene Usenet News Service, http://www.newscene.co (1:261/20.999)   
|