CoCreate User Forum  

Go Back   CoCreate User Forum > Old NewsGroup Archive > Archive Forums > ME10

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 09-29-2002, 04:03 PM
Anthony Limare
Guest
 
Posts: n/a
FILE - OPEN - FILTER

HI,CAN ANYONE HELP? I WOULD LIKE ME10 FILTER TO DEFAULT TO "ALL FILES" WHEN OPENING A DRAWING. CAN THIS BE DONE? WE ARE CURRENTLY USING ME10 VER 11.00 AND WINDOWS NT4.0. THANKS.ANTHONY
  #2  
Old 10-01-2002, 05:05 AM
Mike "the Rat"
Guest
 
Posts: n/a
re: FILE - OPEN - FILTER

I found this below to work. Unfortunately I haven't found out how to add a preview the drawing in the open dialog box. { ********** Macro for loading MI for Win MFC ********** } DEFINE Wui_load_all_files LOCAL Return_string LOCAL File_name WUI_NEW INQ_ENV 10 IF (INQ 19 = 1) {for MFC WUI only} LET Return_string (WUI_FILE_DIALOG CAPTION ("Load MI file") FILTER "All files (*.*)|*.*|") IF (Return_string = 'OK') INQ_ENV 0 LET File_name (INQ 904) {first selected file from file dialog} LOAD File_name END_IF END_IF END_DEFINE { ********** Macro for storing as Compressed MI for Win MFC ********** } DEFINE Wui_store_as_compressed_bi LOCAL Return_string LOCAL File_name INQ_SELECTED_ELEM SELECT ALL CONFIRM IF ((INQ 14)=0) BEEP DISPLAY "The current file is empty. Can not stored file." ELSE INQ_ENV 10 IF (INQ 19 = 1) {for MFC WUI only} LET Return_string (WUI_FILE_DIALOG FILE_SAVE CAPTION ("Store as Compressed MI file") FILTER "Compressed MI (*.bi)|*.bi|All Files (*.*)|*.*||") IF (Return_string = 'OK') INQ_ENV 0 LET File_name (INQ 904) {first selected file from file dialog} STORE ALL DEL_OLD File_name File_name END_IF END_IF END_IF END_DEFINE
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -8. The time now is 04:26 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.