vb6 - VB user controls not resizing in windows 8 -


i'm updating vb6 application run in windows 8, , 1 of issues user control windows not resizing (via window edge drag handles). works fine under other oses.

the same issue plagues main project window.

the elements of window controlled in function, window doesn't respond resizing.

private sub usercontrol_resize() if g_shuttingdown exit sub ' test 0 size if scalewidth = 0 or scaleheight = 0 exit sub  ' min size 'if scalewidth < imin_form_width usercontrol.width = imin_form_width 'if scalewidth < imin_form_height usercontrol.height = imin_form_height  ' form dimensions dim x, y, w, h long x = scaleleft y = scaletop w = scalewidth h = scaleheight  pictitlebar.move 0, 0, w - 30, 240 imgtitlebar.move 0, 0, pictitlebar.width, 240 lblcaption.move 45, 15 imgclose.move pictitlebar.width - imgclose.width - 60, 60  chkverbose.move 15, pictitlebar.top + pictitlebar.height cmdclear.move chkverbose.left + chkverbose.width, chkverbose.top chkpause.move cmdclear.left + cmdclear.width, chkverbose.top  messages.move 15, chkverbose.top + chkverbose.height, w - 30, h - (chkverbose.top + chkverbose.height) 

end sub

any ideas how might these windows respond resize event properly?

maybe u need download new fixed dll vb in win 8 or need access permision vb6.exe allow actions .

and maybe u sholude disabled win 8 theme vb work .

i have more problems vb6in win8 when disabled themes in win 7 or win 8 many of problems sloved .


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -