473,486 Members | 2,116 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to create a custom menu like the start menu?

grandong
4 New Member
i want to create custom start menu, i use win7, currently i stuck with create form that look like right side of start menu (also like taskbar, or form caption, something with glass effect), and second problem is create control that when hovered its have effect like item in start menu, pleas help me, thanks.
Feb 5 '11 #1
4 5124
HaLo2FrEeEk
404 Contributor
You're going to need a few API calls. Specifically the ones relating to working with the Desktop Window Manager (DWM), which handles rendering the glass effect. Take a look at this tutorial:

http://msdn.microsoft.com/en-us/libr...95(VS.85).aspx

It's written in C++ (I think) but the concept is still there. The program list portion of the menu could be a ListBox. You'll have to custom paint the items though.

I think it could be done, and you've actually sorta caught my interest with it, I think I'm gonna see what I can do. It won't be a simple thing though, it will involve custom drawn controls...but I'm sure it can be done.
Feb 5 '11 #2
grandong
4 New Member
i think it will be hard for student like me, can you please give a short of example
Feb 5 '11 #3
grandong
4 New Member
ok, i got it, but i have problem, in wpf app there is class System.Window.Interop.HwndSource how i can get this in my c# app
Feb 5 '11 #4
HaLo2FrEeEk
404 Contributor
If you're looking for the handle to the window then just use this.Handle. Beyond that I don't know, I havn't discovered te magic of WPF yet, I'm still stuck in WinForms.

As for providing an example, all I can say is to read the page that I linked to, it explains everything. There is no short example for what you want to do, it's a decently challenging task.
Feb 5 '11 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
2574
by: Steven | last post by:
Hello, I used a form to collect some data, and then use php script to verify the data before send it to database. If the php script found some errors in input data, it will use...
0
1810
by: ThisIsMe | last post by:
I am using this php email form and it seems to work. But I would like for the option for attn$ Webmaster to go to a different email address than the mymail$ Please be Kind to us newbies... can...
17
2740
by: Dave Smithz | last post by:
Hi there, A PHP application I built has a section which lists a number of members to a club whose names each appear with a check box beside them that can be ticked. These check boxes are part...
7
2154
by: AM | last post by:
Hi all, I am trying to get multiple submit buttons to work on my form. The problem I am facing is that the wrong one gets triggered by default when the user presses enter from any one of two...
3
2263
by: Andy | last post by:
Hi Using IE6. I have a textbox in a form. The form is called 'form1' and the textbox is called 'textfield1'. I have an onBlur event on the textbox to check its contents is an integer thus:...
0
1031
by: John Doe | last post by:
Hi, Hopefully someone can help me on this one. I normally start all my VB apps from a Sub Main, which I place in a code module. This Sub then instantiates a form, i.e Public Sub Main() Dim...
1
1716
by: PAUL MITCHELL | last post by:
Hello, bit of strange one this, I have a VB .net application that has Sub Main() as its startup procedure, this then creates and shows a form. Up till now when I pressed F5 the form would duly...
0
1149
by: zbud | last post by:
I have a form that is in the correct position in design view. (although I notice there are horz and vert scroll bars in the design window even though the form is smaller than the screen size)...
0
1277
by: zbud | last post by:
I have a form that is in the correct position in design view. (although I notice there are horz and vert scroll bars in the design window even though the form is smaller than the screen size)...
19
1956
peeaurjee
by: peeaurjee | last post by:
hi Its my first post to e-scripts. i hope i will get help soon for my problem. I have 2 tables Employees and the second one is Training. The relation between them is 1 to 1. i have...
0
7100
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6964
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7175
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
4865
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
262
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.