Changeset 361 for branches/guitools-2.0/evfsgui
- Timestamp:
- Jan 6, 2010, 3:01:57 PM (16 years ago)
- Location:
- branches/guitools-2.0/evfsgui
- Files:
-
- 4 edited
-
changes (modified) (1 diff)
-
evfsgui.VRP (modified) (1 diff)
-
evfsgui.VRX (modified) (3 diffs)
-
evfsgui.VRY (modified) ( previous)
Legend:
- Unmodified
- Added
- Removed
-
branches/guitools-2.0/evfsgui/changes
r350 r361 3 3 - Debug on/off option is badly implemented (rework required) 4 4 - Create Icon. stem in order to ease maintainance of icons 5 6 Version 2.0.0 (Refresh) 7 - Changed: Rewrite routines to find .msg and .hlp files 8 - Fixed: Set size of throbber object according to screen dimensions 5 9 6 10 Version 2.0 GA -
branches/guitools-2.0/evfsgui/evfsgui.VRP
r350 r361 8 8 VRXWindow: __VREMainWindow,1,1072,1783,891,3951 9 9 VRXWindow: __VRESectionListWindow,1,602,11033,11033,3975 10 VRXWindow: __VREToolsWindow,1,1963,819,6992,166 110 VRXWindow: __VREToolsWindow,1,1963,819,6992,1665 11 11 VRXWindow: __VREWindListWindow,1,470,8528,2650,3150 12 12 UserFile: 1 -
branches/guitools-2.0/evfsgui/evfsgui.VRX
r350 r361 284 284 285 285 ok = VRSet("Main","Width", 8200) 286 ok = VRseT("Pict_Throbber","Width", VRMethod( "Screen", "PixelsToTwips", 32 )) 287 ok = VRseT("Pict_Throbber","Height", VRMethod( "Screen", "PixelsToTwips", 32 )) 286 288 287 289 /* Setup SmbTree View */ … … 386 388 END 387 389 else iterate 390 end 391 return 392 393 /*:VRX _PrinterInfo 394 */ 395 _PrinterInfo: 396 /* rh = currently selected record handle */ 397 capt = VRMethod("CN_SMBTREE", "GetRecordAttr", rh, "Caption") 398 parse var Capt p_printer '0D0A'x . 399 parRH = VRMethod("CN_SMBTREE", "GetRecordAttr", rh, "Parent") 400 capt = VRMethod("CN_SMBTREE", "GetRecordAttr", Parrh, "Caption") 401 parse var Capt p_prtsrv '0D0A'x . 402 p_prtsrv = strip(p_prtsrv) 403 GparRH = VRMethod("CN_SMBTREE", "GetRecordAttr", Parrh, "Parent") 404 capt = VRMethod("CN_SMBTREE", "GetRecordAttr", GParrh, "Caption") 405 parse var Capt p_workgroup '0D0A'x . 406 DescStr = translate(p_prtsrv'#'p_printer'#'p_workgroup'#') 407 say '"'DescStr'"' 408 LDescStr = length(DescStr) 409 ok = SysIni('SYSTEM','PM_SPOOLER_PORT',"All:",'ports') 410 411 FoundPort = 0 412 do I = 1 to ports.0 413 if left(ports.i,3) = 'SMB' then do 414 say ports.I 415 say translate(left(SysIni('SYSTEM','PM_'ports.I,'INITIALIZATION'),LDescStr)) 416 say DescStr 417 if translate(left(SysIni('SYSTEM','PM_'ports.I,'INITIALIZATION'),LDescStr)) = DescStr then do 418 OurPort = ports.I 419 FoundPort = 1 420 leave 421 end 422 end 423 end 424 425 if Foundport then do 426 ok = SysIni('SYSTEM','PM_SPOOLER_PRINTER',"All:",'printer') 427 428 do I = 1 to printer.0 429 say printer.I 430 prtsummary = SysINi('SYSTEM','PM_SPOOLER_PRINTER',printer.i) 431 parse var prtsummary port ';'PrinterDriver';'PrinterQueue';' . 432 if port = ourPort then do 433 PrinterName = SysINi('SYSTEM','PM_SPOOLER_PRINTER_DESCR',printer.i) 434 parse var Printername Printername ';' . 435 leave 436 end 437 438 end 439 440 CALL VRMessage 'Main', PrinterName' ('PrinterQueue') prints to port ' Port' connected to \\'p_workgroup'\'p_prtsrv'\'p_printer, NLVGetMessage( 1 ), 'I' 441 end 442 else do 443 CALL VRMessage 'Main', NLVGetMessage( 62 ), NLVGetMessage( 5 ), 'E' 388 444 end 389 445 return … … 863 919 ok = VRset("Menu_Selected_Default_Workgroup","Visible", (Icon = "#62:PMWP.DLL")) 864 920 865 if Icon = "#65:PMWP.DLL" then do /* Printers not supported at the moment */ 921 if Icon = "#65:PMWP.DLL" then do /* Printer installation not supported at the moment */ 922 /* call _Printerinfo */ 866 923 CALL VRMessage 'Main', NLVGetMessage( 62 ), NLVGetMessage( 5 ), 'E' 867 924 return
Note:
See TracChangeset
for help on using the changeset viewer.
