Search found 21 matches

by Mdandrea
Fri Dec 22, 2006 2:42 am
Forum: FiveWin for CA-Clipper
Topic: Retrieving all the open windows' titles
Replies: 2
Views: 1575

Thank you !
by Mdandrea
Wed Dec 20, 2006 8:37 pm
Forum: FiveWin for CA-Clipper
Topic: Retrieving all the open windows' titles
Replies: 2
Views: 1575

Retrieving all the open windows' titles

Good day

I remember seeing somewhere a sample of code that retrieves all the open windows' title text. I just don't remember how to do it or where it was. If anyone has code I would appreciate it.


TIA

MD'Andrea
by Mdandrea
Sat Sep 30, 2006 12:37 am
Forum: FiveWin for CA-Clipper
Topic: Clipper 5.3b exe
Replies: 1
Views: 1322

Clipper 5.3b exe

Hi All I reinstalled my clipper 5.3a ... and applied the 5.3b US patch , but the clipper.exe doesn't seem take the patch .. all other files do. This has come about because I'm now getting a memory low error and I'm trying to get rid of it. Apparently, clipper.exe for 5.3b with the updates to the err...
by Mdandrea
Wed Jul 05, 2006 5:42 pm
Forum: FiveWin for CA-Clipper
Topic: mtmp:=Getenv("TEMP")
Replies: 7
Views: 2673

jacquet philippe wrote:I have the same result with the api,
it return windows\temp and not the user tem path .

??
That's strange under Win 2000 i get the user temp path, I am however logged in as an admin of the local machine.
by Mdandrea
Sun Jul 02, 2006 3:51 pm
Forum: FiveWin for CA-Clipper
Topic: mtmp:=Getenv("TEMP")
Replies: 7
Views: 2673

Or you can use the following API call to get the windows temp folder function get_temp() local tbuffer:=space(256) gettemppath(256,@tbuffer) tbuffer := LEFT(tbuffer,AT(CHR(0),tbuffer)-1) return(tbuffer) DLL32 Function GetTempPath( bufferlen as LONG, tbuffer AS LPSTR) AS LONG ; PASCAL FROM "GetT...
by Mdandrea
Fri Jun 09, 2006 9:34 pm
Forum: FiveWin for CA-Clipper
Topic: Adding/Removing tabstop
Replies: 7
Views: 2339

That's kinda what I did in the end .. except I didn't want the disable look but i did use the button colour as the background colour for the get. I had to hide some as well. THanks for all suggestions
by Mdandrea
Fri May 19, 2006 5:54 am
Forum: FiveWin for CA-Clipper
Topic: Adding/Removing tabstop
Replies: 7
Views: 2339

You're right ... but you can use the same edit text box control in an rc or dll file, for a get or a say, with the read only property. when it's redefined as a "Say" , i have to set the colors to look like a normal "say". the only problem is the tab stop. I would like to remove i...
by Mdandrea
Wed May 17, 2006 11:53 am
Forum: FiveWin for CA-Clipper
Topic: Adding/Removing tabstop
Replies: 7
Views: 2339

Disabling isn't going to work in the situation. because sometimes control 100 ( for example ) will be a say, and sometimes it will be a get and control 200 etc so rathert than having duplicates of each control in the rc I have everything working except for removing the tabstop when its a say, or con...
by Mdandrea
Tue May 16, 2006 5:43 pm
Forum: FiveWin for CA-Clipper
Topic: Adding/Removing tabstop
Replies: 7
Views: 2339

Adding/Removing tabstop

I was wondering if there was a way to add or remove the WS_TABSTOP from a get on a dialog ? The dialog is from an RC file and could also be from a dll file
by Mdandrea
Mon Apr 03, 2006 11:18 pm
Forum: FiveWin for CA-Clipper
Topic: msginfo on network
Replies: 6
Views: 2480

Glad to hear you got it working , winexec and shellexecute are very similar in what they do.
by Mdandrea
Mon Apr 03, 2006 2:53 am
Forum: FiveWin for CA-Clipper
Topic: msginfo on network
Replies: 6
Views: 2480

Here is a working simple sample of how to net send. #include "Fivewin.ch" static odlg FUNCTION MAIN() LOCAL msg := SPACE( 20 ) LOCAL muser := SPACE( 20 ) DEFINE DIALOG oDlg @ 1, 1 GET msg OF oDlg @ 2, 1 GET muser OF oDlg @ 4, 5 BUTTON "&Ok" ACTION sendnetmsg(msg,muser) @ 4, 1...
by Mdandrea
Sat Apr 01, 2006 12:27 am
Forum: FiveWin for CA-Clipper
Topic: long file names
Replies: 7
Views: 2626

You could create it with a temp file name using 8.3 convention, and use the movefile api call to move it to a long file name. Movefile ( "c:\temp\temp.fil" +chr(0) , "c:\folder\long file name.fil" +chr(0)) DLL32 FUNCTION MOVEFILE( cOldName AS LPSTR, cNewName AS LPSTR ) AS BOOL; P...
by Mdandrea
Tue Mar 28, 2006 3:10 pm
Forum: FiveWin for CA-Clipper
Topic: Fivewin/3 error
Replies: 7
Views: 4113

You couild try uninstalling the fwctrls.dll from resource workshop , and then adding each of the controls as custom controls, you will lose the advantages of using the fwtcrls.dll. but it wouldn't make it a requirement to run the app. I know that it defeats the purpose of using fwtcrls.dll but it mi...
by Mdandrea
Tue Mar 28, 2006 5:03 am
Forum: FiveWin for CA-Clipper
Topic: Fivewin/3 error
Replies: 7
Views: 4113

Could it be you are using a Borland Control ( like a sunken or raised line or the borland static control ) on one of the pages/folder tabs or dialogs ? if so you will need to also load the BWCC.DLL as wel or change it to a non-borland style control. Workshop loads the BWCC.DLL when you have it runni...
by Mdandrea
Sat Mar 25, 2006 1:29 pm
Forum: FiveWin for CA-Clipper
Topic: Can I write comm port without MsgInfo()?
Replies: 3
Views: 1323

Glad to hear it worked for you Dutch.