1. Win32libex

------=_NextPart_000_0011_01C00ADD.A6026980
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

To all interested:

Line # 9312 in win32libex either is written wrong (mistakenly)
or, I'm writeing my code wrong. (I push more toward this theory)=20
But, with one small change, my code does work.

This doesnt work with my code
global function getParent( integer id )
    return tvitem_owner[ id ]
end function

This however does:
global function getParent( integer id )
    return tvitem_parent[ id ]
end function

Part of my Code:

sequence text, parent_name, grandparent_name
integer index, parent, grandparent
  =20
    index =3D getTVIndex( TV )
    =20
    if index =3D 0 then
    else --***** other obscure code *****

    parent =3D 0
    grandparent =3D 0

    parent_name =3D {}
    grandparent_name =3D {}

    text =3D getTVSelectedText( TV )
=20
    parent =3D getParent( index )
 =20
    if parent > 0 then
    parent_name =3D getTVText( parent )
    grandparent =3D getParent( parent )
        if grandparent > 0 then
           grandparent_name =3D getTVText( grandparent )
        end if
    end if

End of my Code

I know I've asked this several times now but, I still haven't found the
right method to makeing <tab> key inside of a Combobox work.

What I would like to do is, have several (many) comboboxes on screen
with dropdown and edit control be able to scan for <tab> or <enter> key
presses that would send me into the next combobox for either selection
of dropdown or edit.

Thanks in Advance'
euman at bellsouth.net



------=_NextPart_000_0011_01C00ADD.A6026980
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4207.2601" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>To all interested:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Line # 9312 in win32libex either is =
written wrong=20
(mistakenly)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>or, I'm writeing my code wrong. (I push =
more toward=20
this theory)&nbsp;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>But, with one small </FONT><FONT =
face=3DArial=20
size=3D2>change, my code does work.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>This doesnt work with my =
code</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>global function getParent( integer id=20
)<BR>&nbsp;&nbsp;&nbsp; return <FONT =
color=3D#0000ff>tvitem_owner</FONT>[ id=20
]<BR>end function<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>This however does:</DIV></FONT>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>global function getParent( integer id=20
)<BR>&nbsp;&nbsp;&nbsp; return <FONT =
color=3D#0000ff>tvitem_parent</FONT>[ id=20
]<BR>end function<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Part of my Code:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><FONT color=3D#ff0000>sequence text, =
parent_name,=20
grandparent_name</FONT></DIV></FONT>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2>integer index, parent,=20
grandparent<BR>&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; index =3D =
getTVIndex( TV=20
)<BR>&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; if index =3D 0=20
then<BR>&nbsp;&nbsp;&nbsp; else --</FONT><FONT face=3DArial =
size=3D2><FONT=20
color=3D#ff0000>***** other obscure&nbsp;code =
*****<BR></FONT></DIV></FONT>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2>&nbsp;&nbsp;&nbsp; =
parent =3D=20
0<BR>&nbsp;&nbsp;&nbsp; grandparent =3D 0</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2>&nbsp;&nbsp;&nbsp; =
parent_name =3D=20
{}<BR>&nbsp;&nbsp;&nbsp; grandparent_name =3D {}</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2>&nbsp;&nbsp;&nbsp; text =
=3D=20
getTVSelectedText( TV )</FONT></DIV>
<DIV><FONT face=3DArial color=3D#ff0000 =
size=3D2>&nbsp;<BR>&nbsp;&nbsp;&nbsp; parent =3D=20
getParent( index )<BR>&nbsp; <BR>&nbsp;&nbsp;&nbsp; if parent &gt; 0=20
then<BR>&nbsp;&nbsp;&nbsp; parent_name =3D getTVText( parent=20
)<BR>&nbsp;&nbsp;&nbsp; grandparent =3D getParent( parent=20
)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if grandparent &gt; 0=20
grandparent_name =3D getTVText( grandparent=20
)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end =
if<BR>&nbsp;&nbsp;&nbsp; end=20
if</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><BR>End of my Code</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I know I've asked this several times =
now but, I=20
still haven't found the</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>right method&nbsp;to makeing =
&lt;tab&gt; key inside=20
of a Combobox work.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>What I would like to do is, have =
several (many)=20
comboboxes on screen</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>with dropdown and edit control be able =
to scan for=20
&lt;tab&gt; </FONT><FONT face=3DArial size=3D2>or &lt;enter&gt; =
key</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>presses that would send me into the =
next combobox=20
for either selection</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>of dropdown </FONT><FONT face=3DArial =
size=3D2>or=20
edit.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks in Advance'</DIV>
<DIV><A =
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial =

------=_NextPart_000_0011_01C00ADD.A6026980--

new topic     » topic index » view message » categorize

2. Re: Win32libex

------=_NextPart_000_0015_01C00B66.D67167E0
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

  =20
  I know I've asked this several times now but, I still haven't found =
the
  right method to makeing <tab> key inside of a Combobox work.

  What I would like to do is, have several (many) comboboxes on screen
  with dropdown and edit control be able to scan for <tab> or <enter> =
key
  presses that would send me into the next combobox for either selection
  of dropdown or edit.

  You can check messages of parent
  of comboboxes and if it's TAB key,
  you activate or drop down next combobox.

  When you are in combobox it becomes more complicated.
  You have to set new window procedure for combobox:

  --save original window procedure
  originWndProc=3DGetWindowLong(wnd,GWL_WNDPROC)

  --set new window procedure for combobox
  junk=3DSetWindowLong(wnd,GWL_WNDPROC,call_back(routine_id("WndProc")))


  --this procedure must go UP
  function WndProc(atom hwnd, atom msg, atom wParam, atom lParam)

      if msg=3DWM_KEY then
      end if
    =20
   --this is important to do so taht combobox behaves like it should
   return CallWindowProc(originWndProc,hwnd, msg, wParam, lParam)=20
  end function


  I never did it with combobox, only with edit window.
  But it should work, maybe with some modifications.
  I don't know either how it would work with Win32Lib,
  that's why i don't use it.

------=_NextPart_000_0015_01C00B66.D67167E0
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #808000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV><FONT face=3DArial size=3D2>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I know I've asked this several times =
now but, I=20
  still haven't found the</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>right method&nbsp;to makeing =
&lt;tab&gt; key=20
  inside of a Combobox work.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>What I would like to do is, have =
several (many)=20
  comboboxes on screen</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>with dropdown and edit control be =
able to scan=20
  for &lt;tab&gt; </FONT><FONT face=3DArial size=3D2>or &lt;enter&gt;=20
  key</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>presses that would send me into the =
next combobox=20
  for either selection</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>of dropdown </FONT><FONT face=3DArial =
size=3D2>or=20
  edit.</FONT></DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2><FONT color=3D#808000 face=3DVerdana>You can check =
messages of=20
  parent</FONT></FONT></DIV>
  <DIV><FONT size=3D2><FONT color=3D#808000 face=3DVerdana>of comboboxes =
and if it's=20
  TAB key,</FONT></FONT></DIV>
  <DIV><FONT size=3D2><FONT color=3D#808000 face=3DVerdana>you activate =
or drop down=20
  next&nbsp;combobox.</FONT></FONT></DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2><FONT color=3D#808000 face=3DVerdana>When you are =
in combobox it=20
  becomes more complicated.</FONT></FONT></DIV>
  <DIV><FONT size=3D2><FONT color=3D#808000 face=3DVerdana>You have to =
set new window=20
  procedure for combobox:</FONT></FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT color=3D#808000 face=3DVerdana>--save original window=20
  procedure</FONT></DIV>
  <DIV><FONT color=3D#808000=20
  =
>
  <DIV>&nbsp;</DIV>
  <DIV><FONT color=3D#808000 face=3DVerdana>--set new window procedure =
for=20
  combobox</FONT></DIV>
  <DIV><FONT color=3D#808000=20
  =
"WndProc")))</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT color=3D#808000 face=3DVerdana>--this procedure =
must&nbsp;go=20
  UP</FONT></DIV>
  <DIV><FONT size=3D2><FONT color=3D#808000 face=3DVerdana>function =
WndProc(atom hwnd,=20
  atom msg, atom wParam, atom lParam)</FONT></FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT color=3D#808000 face=3DVerdana>&nbsp;&nbsp;&nbsp; if =
msg=3DWM_KEY=20
  then</FONT></DIV>
  <DIV><FONT color=3D#808000 =
  color=3D#808000 face=3DVerdana>end if</FONT></DIV>
  <DIV><FONT color=3D#808000 =
face=3DVerdana>&nbsp;&nbsp;&nbsp;</FONT></DIV>
  <DIV><FONT color=3D#808000 face=3DVerdana>&nbsp;--this is important to =
do so taht=20
  combobox behaves like it should</FONT></DIV>
  <DIV><FONT size=3D2><FONT color=3D#808000 face=3DVerdana>&nbsp;return=20
  CallWindowProc(originWndProc,hwnd, msg, wParam, lParam)&nbsp;<BR>end=20
  function</FONT></FONT></DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2><FONT color=3D#808000 face=3DVerdana>I never did =
it with=20
  combobox, only with edit window.</FONT></FONT></DIV>
  <DIV><FONT size=3D2><FONT color=3D#808000 face=3DVerdana>But it should =
work, maybe=20
  with some modifications.</FONT></FONT></DIV>
  <DIV><FONT size=3D2><FONT color=3D#808000 face=3DVerdana>I don't know =
either how it=20
  would work with Win32Lib,</FONT></FONT></DIV>
  <DIV><FONT size=3D2><FONT color=3D#808000 face=3DVerdana>that's why i =
don't use=20
  it.</FONT></FONT><FONT=20

------=_NextPart_000_0015_01C00B66.D67167E0--

new topic     » goto parent     » topic index » view message » categorize

3. Re: Win32libex

Actually, you're correct.  IIRC, you pointed this one out a couple of weeks
ago, and I show that I did fix this one.

Matt Lewis

-----Original Message-----
From:  Wayne Overman

To all interested:

Line # 9312 in win32libex either is written wrong (mistakenly)
or, I'm writeing my code wrong. (I push more toward this theory)
But, with one small change, my code does work.

This doesnt work with my code
global function getParent( integer id )
    return tvitem_owner[ id ]
end function

This however does:
global function getParent( integer id )
    return tvitem_parent[ id ]
end function

new topic     » goto parent     » topic index » view message » categorize

4. Re: Win32libex

------=_NextPart_000_0079_01C00B93.DD71E1A0
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Euman writes:=20

What I would like to do is, have several (many) comboboxes on screen
with dropdown and edit control be able to scan for <tab> or <enter> key
presses that would send me into the next combobox for either selection
of dropdown or edit


Skoda wrote:

You can check messages of parent
of comboboxes and if it's TAB key,
you activate or drop down next combobox.

When you are in combobox it becomes more complicated.
You have to set new window procedure for combobox:

--save original window procedure
originWndProc=3DGetWindowLong(wnd,GWL_WNDPROC)


--- I dont know but it's abit confuseing to me


if I called the procedure get_proc_address()
saved that 32-bit address in originWndProc


--set new window procedure for combobox


set the new procedure to this ?
window_func[id] =3D c_func( xSetWindowLong, { hWnd, GWL_WndProc, =
originWndProc } )


--this procedure must go UP
function WndProc(atom hwnd, atom msg, atom wParam, atom lParam)

if msg=3DWM_KEYDOWN then
    end if
  =20
 --this is important to do so taht combobox behaves like it should
 return CallWindowProc(originWndProc,hwnd, msg, wParam, lParam)=20
end function


I never did it with combobox, only with edit window.


function isTabKey( integer id, integer iMsg, atom wParam, atom lParam ) =
this works with mle's


But it should work, maybe with some modifications.
I don't know either how it would work with Win32Lib,
that's why i don't use it.


I am so confused..............but, am willing to keep on it.

------=_NextPart_000_0079_01C00B93.DD71E1A0
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4207.2601" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT size=3D2><FONT face=3DVerdana>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2>Euman writes:<FONT =
color=3D#000000>=20
</FONT></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2>What I would like to do =
is, have=20
several (many) comboboxes on screen</FONT></DIV>
<DIV><FONT color=3D#0000ff><FONT face=3DArial size=3D2>with dropdown and =
edit control=20
be able to scan for &lt;tab&gt; </FONT><FONT face=3DArial size=3D2>or =
&lt;enter&gt;=20
key</FONT></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2>presses that would send =
me into the=20
next combobox for either selection</FONT></DIV>
<DIV><FONT color=3D#0000ff><FONT face=3DArial size=3D2>of dropdown =
</FONT><FONT=20
face=3DArial size=3D2>or edit</FONT></FONT></DIV></FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT face=3DVerdana =
color=3D#808000></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana color=3D#808000></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2><FONT face=3DVerdana color=3D#808000>Skoda=20
wrote:</FONT></FONT></DIV>
<DIV><FONT face=3DVerdana color=3D#808000></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2><FONT face=3DVerdana color=3D#808000>You can check =
messages of=20
parent</FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT face=3DVerdana color=3D#808000>of comboboxes =
and if it's TAB=20
key,</FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT face=3DVerdana color=3D#808000>you activate or =
drop down=20
next&nbsp;combobox.</FONT></FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2><FONT face=3DVerdana color=3D#808000>When you are in =
combobox it=20
becomes more complicated.</FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT face=3DVerdana color=3D#808000>You have to set =
new window=20
procedure for combobox:</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DVerdana color=3D#808000>--save original window=20
procedure</FONT></DIV>
<DIV><FONT face=3DVerdana=20
V>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff>--- I dont know but it's abit confuseing to=20
me</FONT></DIV>
<DIV><FONT color=3D#0000ff></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff>if I called the procedure=20
get_proc_address()</FONT></DIV>
<DIV><FONT color=3D#0000ff>saved that 32-bit address in =
originWndProc</FONT></DIV>
<DIV><FONT color=3D#0000ff></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana color=3D#808000>--set new window procedure for =

combobox</FONT></DIV>
<DIV><FONT face=3DVerdana=20
("WndProc")))</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV><FONT color=3D#0000ff>set the new procedure to this ?</FONT></DIV>
<DIV><FONT color=3D#0000ff>window_func[id] =3D c_func( =
xSetWindowLong,&nbsp;{ hWnd,=20
GWL_WndProc,&nbsp;originWndProc } )</FONT></DIV></DIV>
<DIV><FONT color=3D#0000ff></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana color=3D#808000>--this procedure must&nbsp;go=20
UP</FONT></DIV>
<DIV><FONT size=3D2><FONT face=3DVerdana color=3D#808000>function =
WndProc(atom hwnd,=20
atom msg, atom wParam, atom lParam)</FONT></FONT></DIV>
<DIV><FONT face=3DVerdana color=3D#808000></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana color=3D#808000>if msg=3DWM_KEY<FONT=20
color=3D#0000ff>DOWN</FONT> then</FONT></DIV>
<DIV><FONT face=3DVerdana =
face=3DVerdana color=3D#808000>end if</FONT></DIV>
<DIV><FONT face=3DVerdana =
color=3D#808000>&nbsp;&nbsp;&nbsp;</FONT></DIV>
<DIV><FONT face=3DVerdana color=3D#808000>&nbsp;--this is important to =
do so taht=20
combobox behaves like it should</FONT></DIV>
<DIV><FONT size=3D2><FONT face=3DVerdana color=3D#808000>&nbsp;return=20
CallWindowProc(originWndProc,hwnd, msg, wParam, lParam)&nbsp;<BR>end=20
function</FONT></FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2><FONT face=3DVerdana color=3D#808000>I never did it =
with combobox,=20
only with edit window.</FONT></FONT></DIV>
<DIV><FONT face=3DVerdana color=3D#808000></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana color=3D#808000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff>function isTabKey( integer id, integer iMsg, =
atom=20
wParam, atom lParam ) this works with mle's</FONT><BR></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2><FONT face=3DVerdana color=3D#808000>But it should =
work, maybe=20
with some modifications.</FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT face=3DVerdana color=3D#808000>I don't know =
either how it=20
would work with Win32Lib,</FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT face=3DVerdana color=3D#808000>that's why i =
don't use=20
it.</FONT></FONT></DIV>
<DIV><FONT face=3DVerdana color=3D#808000></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff>I am so confused..............but, am willing =
to keep=20

------=_NextPart_000_0079_01C00B93.DD71E1A0--

new topic     » goto parent     » topic index » view message » categorize

5. Re: Win32libex

------=_NextPart_000_0008_01C00C33.935599E0
        boundary="----=_NextPart_001_0009_01C00C33.935D3B00"


------=_NextPart_001_0009_01C00C33.935D3B00
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am attaching file that will do what you want.
You just have to handle tabkeys for edit windos
of comboboxes and of comboboxes itself ,
and then activate the next combobox.
If you have any questions just ask.
It's in Win32Lib, and it's amazingly easy to do it,
i thoughti would have more problems.
Maybe i should after all switch to it :)

------=_NextPart_001_0009_01C00C33.935D3B00
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#808000 face=3DVerdana size=3D2>I am attaching file =
that will do=20
what you want.</FONT></DIV>
<DIV><FONT color=3D#808000 face=3DVerdana size=3D2>You just have to =
handle tabkeys for=20
edit windos</FONT></DIV>
<DIV><FONT color=3D#808000 face=3DVerdana size=3D2>of comboboxes and of =
comboboxes=20
itself ,</FONT></DIV>
<DIV><FONT color=3D#808000 face=3DVerdana size=3D2>and then activate the =
next=20
combobox.</FONT></DIV>
<DIV><FONT color=3D#808000 face=3DVerdana size=3D2>If you have any =
questions just=20
ask.</FONT></DIV>
<DIV><FONT color=3D#808000 face=3DVerdana size=3D2>It's in Win32Lib, and =
it's=20
amazingly easy to do it,</FONT></DIV>
<DIV><FONT color=3D#808000 face=3DVerdana size=3D2>i thoughti would have =
more=20
problems.</FONT></DIV>
<DIV><FONT color=3D#808000 face=3DVerdana size=3D2>Maybe i should after =
all switch to=20

------=_NextPart_001_0009_01C00C33.935D3B00--

------=_NextPart_000_0008_01C00C33.935599E0
        name="comboTab.exw"
Content-Transfer-Encoding: quoted-printable

new topic     » goto parent     » topic index » view message » categorize

6. Re: Win32libex

------=_NextPart_000_0024_01C00C3C.A09A1F00
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thank-you! Skoda

you have solved a mind block from hell.

I think I'll write my own win32lib now.

euman at bellsouth.net


------=_NextPart_000_0024_01C00C3C.A09A1F00
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4207.2601" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Thank-you! Skoda</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>you have solved a mind block from=20
hell.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I think I'll write my own win32lib=20
now.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><A=20

------=_NextPart_000_0024_01C00C3C.A09A1F00--

new topic     » goto parent     » topic index » view message » categorize

7. Re: Win32libex

I guess Skoda's solution would work, but it looks like overkill.  Did you
try using an onKeyDown event, and trap VK_TAB?

Matt Lewis

-----Original Message-----
From:  Wayne Overman

Thank-you! Skoda

you have solved a mind block from hell.

I think I'll write my own win32lib now.

new topic     » goto parent     » topic index » view message » categorize

8. Re: Win32libex

------=_NextPart_000_002B_01C00C6D.90E6FE80
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


        *** EMMULATE ***
seems to be the best way to go.

Thanks.

euman at bellsouth.net


------=_NextPart_000_002B_01C00C6D.90E6FE80
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4207.2601" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ***=20
EMMULATE ***</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>seems to be the best way to =
go.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><A=20

------=_NextPart_000_002B_01C00C6D.90E6FE80--

new topic     » goto parent     » topic index » view message » categorize

9. Re: Win32libex

Wayne Overman wrote:

>        *** EMMULATE ***
>seems to be the best way to go.

I can tell you I have absolutely *no* desire to emulate a combo. :)

The problem is that you can't get at the key events, since they're 'hidden'
with the edit child of the combo.  I think I figured out what was stumping
me, but now I'm having problems with getting SubClassing to work properly.
Oh, well.  Should only be a matter of time...

Matt

new topic     » goto parent     » topic index » view message » categorize

10. Re: Win32libex

------=_NextPart_000_000B_01C00C7E.12B5F0A0
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Matt you are the MAN !!!

Everytime something comes up, your always there.

THANK-YOU

I realize now that there really are people
who care about your success on this list.=20

I  sure hope that
Jiri Babor never leaves it (he said he might)
We (those who need help) need people like you and Jiri.

To make your head alittle bigger Matt, dont you go anywhere....



------=_NextPart_000_000B_01C00C7E.12B5F0A0
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4207.2601" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Matt you are the MAN !!!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Everytime something comes up, your =
always=20
there.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>THANK-YOU</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I realize now that there really are=20
people</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>who care about your success on this =
list.=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I&nbsp; sure hope that</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Jiri Babor never leaves it (he said he=20
might)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>We (those who need help) need people =
like you and=20
Jiri.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>To make your head alittle bigger Matt, =
dont you go=20
anywhere....</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>

------=_NextPart_000_000B_01C00C7E.12B5F0A0--

new topic     » goto parent     » topic index » view message » categorize

11. Re: Win32libex

Wayne Overman wrote:bex

>Matt you are the MAN !!!
>Everytime something comes up, your always there.

>THANK-YOU

>I realize now that there really are people
>who care about your success on this list.

>I  sure hope that
>Jiri Babor never leaves it (he said he might)
>We (those who need help) need people like you and Jiri.

>To make your head alittle bigger Matt, dont you go anywhere....

Thanks for the encouragement.  I'm not going anywhere...but I sure hope Jiri
doesn't leave for good (I suppose he's allowed to take a vacation now and
then, though).

However, back to business.  I got the tab thing figured out.  As a nice
byproduct, it also solves a problem with tooltips.  You might have noticed
that the tooltip only appeared on a combo over the drop down button.  This
was because the combo has that child edit control.  Now that I figured out
how to see that, I've made it so that it will set the tooltip for the edit
to the same as the combo, so it behaves like you'd think it should.

I also added some other stuff, like a bugfix to formatDate, and also
expandItem for expanding a treeview item.  Also, treeviews now use onChange
when the user selects an item.  I think I was asleep when I originally set
that up...

As usual, it's at:


Matt

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu