c# - Make an UI to look like Google Chrome / Flash CS5 -


possible duplicate:
custom titlebars/chrome in winforms app

i've been trying make own ui, wasn't sucess.


goal: menu strip @ same place controlbox (minimize, maximize , x)

just in flash cs5 , google chrome (let's tabs becomes menu strips, controlbox placed same way), has controlbox in same row.

researches: i've seen many post, , i've been searching hours, find post in website , guy's answer "try put formborderstyle none , make own ui".

problem is, making controlbox of windows isn't easy @ , have ui of windows (borders arround page)...


any appreciated! :)

here's similar question: custom titlebars/chrome in winforms app. answers there should started.

that question doesn't ask control box, 1 of answers links set of articles called "drawing custom borders in windows forms", , first article in series shows how override wm_nchittest. if check mouse coordinates passed wm_nchittest, , return correct code when coordinates want control box be, windows show system menu when user clicks there. think want return htsysmenu, if doesn't work, override wm_nchittest on normal window, call inherited handler, , see code returns.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -