s2.ecomstation,comp.os.os2.misc   
   oglegroups.com>   
   9d634862   
   GMT)   
   posting-account=MP5H-QoAAABEbP6XVGY2XLbI7qVyTASP   
   comp.os.os2.beta:92 comp.os.os2.ecomstation:895 comp.os.os2.misc:3100   
   From: Brian Smith    
      
   On Mar 30, 7:30 am, "Alex Taylor" 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?   
      
   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.   
      
   Brian   
      
   --- Internet Rex 2.31   
    * Origin: http://groups.google.com (1:261/20.999)   
|