Search found 37 matches

by ericmagaldi
Mon Apr 28, 2008 10:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Read Handle of any type Window ACTIVE
Replies: 15
Views: 3557

get up



I will combine the resource above with my other similar routine:
Shared Class x Mix Method x Destructor‏
idem UseNet
by ericmagaldi
Thu Apr 24, 2008 6:52 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Read Handle of any type Window ACTIVE
Replies: 15
Views: 3557

What you are looking for is something very relative. What do you really want: * the focused control ? * the container window (or dialog) of that control ? very simple, as I demonstrated in my first message, I need Handle of the window focused. Look an alternative that I did, above but it is not eff...
by ericmagaldi
Thu Apr 24, 2008 6:02 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Read Handle of any type Window ACTIVE
Replies: 15
Views: 3557

Try this: GetWndDefault():hWnd Why does suggest me that??? This function is for the LAST object used by FW. Antonio, functions of FW don't have that, it should be something similar GetActiveWindow, GetFocus (), etc, see the examples that I passed you. Remember, I can have several open windows, and ...
by ericmagaldi
Thu Apr 24, 2008 5:34 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Read Handle of any type Window ACTIVE
Replies: 15
Views: 3557

Antonio Linares wrote:Eric,

> Can I aid myself to Handle in an effective way to return?

Sorry, I don't understand what you mean
Again, I need Handle of the window, this is the subject !!!
by ericmagaldi
Thu Apr 24, 2008 4:26 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Read Handle of any type Window ACTIVE
Replies: 15
Views: 3557

What do you need the handle of the active window for ? To take advantage the benefits better OOP, make flexible still more my codes. As FW doesn't have as obtaining in all of the cases ( topic ), Objects of the windows and other controls, I will leave in a function all of the objects of the window,...
by ericmagaldi
Wed Apr 23, 2008 7:38 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Read Handle of any type Window ACTIVE
Replies: 15
Views: 3557

up
by ericmagaldi
Mon Apr 21, 2008 10:31 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Read Handle of any type Window ACTIVE
Replies: 15
Views: 3557

Below I created an alternative none elegant, for being a forced form, besides being the doubt in the cases with RESOURCE, Folders (a window containing others). Please, we needed something technically effective. //-------------------------------------------------------------------------- //That needs...
by ericmagaldi
Mon Apr 21, 2008 7:53 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Read Handle of any type Window ACTIVE
Replies: 15
Views: 3557

You can check the Windows classname of the hWnd using GetClassName( hWnd ) so you will know what control or window has the focus and use GetParent() if needed Antonio, Is the question exactly how exactly?? Because as I described, I already tried, but I didn't do in the correct way. The way that you...
by ericmagaldi
Mon Apr 21, 2008 5:36 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Read Handle of any type Window ACTIVE
Replies: 15
Views: 3557

? GetParent( GetFocus() ) Antonio, almost :) when opening a MDICHILD, same being active, the button didn't receive the focus and WinInfo () Handle of MDIClient returned , after the button received the focus, it worked. 1º-This way will work only with control that receives focus. 2º-a small adjustme...
by ericmagaldi
Mon Apr 21, 2008 4:49 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Read Handle of any type Window ACTIVE
Replies: 15
Views: 3557

Read Handle of any type Window ACTIVE

Hello, How to obtain Handle of the window it activates (REDEFINES, MDI, WINDOW, MDICHILD, etc) of APPS, how? Example below, opens MDI, to press F3 to add MDICHILDs, F2 should obtain Handle. #include 'mxbase.ch' // FiveWin.ch, etc, etc //---------------------------------------------------------------...
by ericmagaldi
Mon Dec 10, 2007 3:44 am
Forum: FiveWin for Harbour/xHarbour
Topic: Bug PICTURE "@R " - URGENTE - Antonio Linares
Replies: 6
Views: 1848

Thanks. Yes, we have confirmed the bug. Its on our todo list to fix it asap. Please Antonio, what code used for fix. I temporarily (quebra-galho), deny few keys: METHOD KeyDown( nKey, nFlags ) CLASS MGet if ::oGet:Type='C' .and. ! EMPTY(::oGet:PICTURE) .and. ; (nKey == VK_LEFT .OR. nKey == VK_RIGHT...
by ericmagaldi
Wed Dec 05, 2007 2:47 am
Forum: FiveWin for Harbour/xHarbour
Topic: how display item superior width ComboBox ?
Replies: 13
Views: 2302

aff !! never yet one "YES" or "NO" POSSIBLE ?????!!!!! alternative temporary in my Class: METHOD HandleEvent( nMsg, nWParam, nLParam ) CLASS MComboBox if nMsg == FM_CLOSEUP ::cToolTip:=::varget() return ::CloseUp() endif return Super:HandleEvent( nMsg, nWParam, nLParam )
by ericmagaldi
Thu Nov 15, 2007 12:10 pm
Forum: FiveWin for Harbour/xHarbour
Topic: how display item superior width ComboBox ?
Replies: 13
Views: 2302

Antonio Linares wrote:Why don't you increase its width ?
LayOut and not need adjust for every item insert.

While it is closed, not need display all character, but during choose (Open), is much important (+informative).

Is possible ???
by ericmagaldi
Thu Nov 15, 2007 5:20 am
Forum: FiveWin for Harbour/xHarbour
Topic: how display item superior width ComboBox ?
Replies: 13
Views: 2302

how display item superior width ComboBox ?

Hi.

how display item superior it width ComboBox (open) ?
http://br.geocities.com/ericmagaldi/screen/combobox.jpg

I use Pelles C.
by ericmagaldi
Mon Apr 30, 2007 4:08 am
Forum: FiveWin for Harbour/xHarbour
Topic: email - Dúvidas, Bugs - Linares
Replies: 1
Views: 707

email - Dúvidas, Bugs - Linares

Antonio, sobre o email que te enviei: Em 23/04/07, Eric Magaldi <ericmagaldi@XXXX.XXX> escreveu: Antonio, boa tarde !! Última linha Dialog (RC) para colocar @..Button no rodapé http://fivetechsoft.com/forums/viewtopic.php?t=6739 Entendi que a medida são diferentes, poderia me ajudar com um exemplo, ...