CoCreate User Forum  

Go Back   CoCreate User Forum > Applications > CoCreate Drafting

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 11-18-2002, 01:34 AM
Yannick Rouat Yannick Rouat is offline
Registered User
 
Join Date: Oct 2002
Location: Mulhouse , FRANCE
Posts: 40
wui_save_as_file

Hello

By default , wui_save_as_file open the windows with the *.mi file.

Is it possible to change this to *.bi or other

Regards
Reply With Quote
  #2  
Old 11-18-2002, 05:51 AM
Yannick Rouat Yannick Rouat is offline
Registered User
 
Join Date: Oct 2002
Location: Mulhouse , FRANCE
Posts: 40
A solution from Mike Ratajczyk who work very well


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
END_IF
END_IF
END_IF
END_DEFINE
Reply With Quote
Reply


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 On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 07:45 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.