Search found 172 matches

by AlexSchaft
Tue Dec 18, 2007 8:34 am
Forum: FiveWin for Harbour/xHarbour
Topic: Say with no hot key parsing
Replies: 7
Views: 1138

Say mods

METHOD New( nRow, nCol, bText, oWnd, cPicture, oFont,; lCentered, lRight, lBorder, lPixels, nClrText, nClrBack,; nWidth, nHeight, lDesign, lUpdate, lShaded, lBox, lRaised,; plNoHotKey, plShortenPath ) ; // AS 18/12/2007 CLASS TSay . . . . ::nStyle = nOR( WS_CHILD, WS_VISIBLE,; If( lDesign, nOr( WS_...
by AlexSchaft
Tue Dec 18, 2007 6:01 am
Forum: FiveWin for Harbour/xHarbour
Topic: Say with no hot key parsing
Replies: 7
Views: 1138

Say with no hot key parsing

Hi,

I modified the say class to be able to pass a parameter to not interpret the & key as an accelerator (using SS_NOPREFIX), but now my inserted CRLF don't get interpreted either.

Has anybody seen this before, or know what else I should pass to make it work properly?

Alex
by AlexSchaft
Tue Oct 30, 2007 1:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: cGetDir dialog, and make new folder button
Replies: 9
Views: 1492

cGetDir - more

Hi again, Have to call as follows: #define BIF_NONEWFOLDERBUTTON 0x200 #define BIF_RETURNONLYFSDIRS 0x0001 #define BIF_DONTGOBELOWDOMAIN 0x0002 #define BIF_STATUSTEXT 0x0004 #define BIF_RETURNFSANCESTORS 0x0008 #define BIF_EDITBOX 0x0010 #define BIF_VALIDATE 0x0020 #define BIF_NEWDIALOGSTYLE 0x0040 ...
by AlexSchaft
Tue Oct 30, 2007 1:10 pm
Forum: FiveWin for Harbour/xHarbour
Topic: cGetDir dialog, and make new folder button
Replies: 9
Views: 1492

Found the problem

Had to change:

if ( ISNUM( 5 ) ) {
// lpbi.ulFlags = _parni( 5 ) ;
lpbi.ulFlags = _parnl( 5 ) ;
}

lpIDList = SHBrowseForFolder( &lpbi );
by AlexSchaft
Tue Oct 30, 2007 12:05 pm
Forum: FiveWin for Harbour/xHarbour
Topic: cGetDir dialog, and make new folder button
Replies: 9
Views: 1492

I found that ShBrowseForFolder is used. A google search found the following constant:

#define BIF_NONEWFOLDERBUTTON 0x200

But it had no effect. Will keep trying...
by AlexSchaft
Tue Oct 30, 2007 7:21 am
Forum: FiveWin for Harbour/xHarbour
Topic: cGetDir dialog, and make new folder button
Replies: 9
Views: 1492

cGetDir dialog, and make new folder button

Hi,

Is there a way to hide the New folder button when using cGetDir()?

I've been reading through the GetOpenFileName API docs, but can't find it in the flags...

Alex
by AlexSchaft
Thu Oct 18, 2007 11:59 am
Forum: FiveWin for Harbour/xHarbour
Topic: Checked menuitem
Replies: 14
Views: 2215

Did that change from your earlier post.

Selected items are ok, unselected are not
by AlexSchaft
Thu Oct 18, 2007 10:51 am
Forum: FiveWin for Harbour/xHarbour
Topic: Checked menuitem
Replies: 14
Views: 2215

Yes, they are :)
by AlexSchaft
Thu Oct 18, 2007 9:30 am
Forum: FiveWin for Harbour/xHarbour
Topic: Checked menuitem
Replies: 14
Views: 2215

Menu items

Hi,

This is the gray background of unselected menu items, as below

Image
by AlexSchaft
Thu Oct 18, 2007 9:00 am
Forum: FiveWin for Harbour/xHarbour
Topic: Checked menuitem
Replies: 14
Views: 2215

Checked items

Hi,

I've gotten menus.c to compile, and highlighted menu items are ok, but unhighlighted items still have the gray background?
by AlexSchaft
Tue Aug 28, 2007 3:35 am
Forum: FiveWin for Harbour/xHarbour
Topic: SMTP loses attachments w/ Vista
Replies: 41
Views: 8726

SMTP

Hi,

FYI, I can send mail via smtp without any problems. Admittedly we've modified the tsmtp class a bit for picking up errors in creation of the attachment temp files (pre-process the array of files to their own unique file names in the user's temp folder, and send those)

Alex
by AlexSchaft
Tue Jul 17, 2007 9:30 am
Forum: FiveWin for Harbour/xHarbour
Topic: Printer properties config
Replies: 3
Views: 812

I'll check those out, thanks.

Alex
by AlexSchaft
Tue Jul 17, 2007 4:29 am
Forum: FiveWin for Harbour/xHarbour
Topic: Printer properties config
Replies: 3
Views: 812

Printer properties config

Hi, In our applications, we have our own printer selection dialog box, due to the fact that we have to add a couple of custom destinations in our applications. The file->print, preferences button in ie and the properties button in acrobat reader both bring up a full properties box, while the firefox...
by AlexSchaft
Tue Jun 19, 2007 12:11 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Activate first item on popup menu
Replies: 3
Views: 799

Highlighting

Hi,

The highlight seems to work, but the menu still "thinks" it is not highlighted, as you must press down twice to get off the first row. Is there a way around this?

Alex
by AlexSchaft
Wed Jun 13, 2007 8:46 am
Forum: FiveWin for Harbour/xHarbour
Topic: Activate first item on popup menu
Replies: 3
Views: 799

Activate first item on popup menu

Hi,

When a popup menu is activated, the highlight is not show, and the user must first press up or down to see the highlight. Is there a way to automatically highlight the first item?

Alex