how can display line when using window (ewin)?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how can display line when using window (ewin)?

1,508件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Mori_64 on Tue Apr 22 21:11:36 MST 2014
Hello

How can i display a line after create  a window ?
Generally how can display 2d lib or what ever that is not belong to active window ?

I need  using dialog box (some button and .... and their notification's) and simultaneously draw line or circle .
is it possible ?

Thanks
any help will be use full
ラベル(1)
0 件の賞賛
返信
4 返答(返信)

1,436件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Mori_64 on Sat May 10 21:07:10 MST 2014
Thanks
CUSKO

It works fine  ;-)
0 件の賞賛
返信

1,436件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Cusko on Fri Apr 25 03:25:07 MST 2014
You can still do it that way. In WM_PAINT you can say:
case WM_PAINT:
  if (flag==1){
    GUI_DrawLine();
  }
)
End when you need your line you do this:
flag=1;
WM_InvalidateWindow(hWin);

hWin is your windows handle.
Hope this helps.
0 件の賞賛
返信

1,436件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Mori_64 on Thu Apr 24 22:20:06 MST 2014
Thanks Cusko

But i need to do it whenever the application need !
0 件の賞賛
返信

1,436件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Cusko on Wed Apr 23 05:16:09 MST 2014
You can do this in more then one way.
I suggest you add GUI_Drawline() in window callback routine under WM_PAINT.
0 件の賞賛
返信