Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. StartMenuItemz

StartMenuItemz

Scheduled Pinned Locked Moved Visual Basic
question
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AndrewVos
    wrote on last edited by
    #1

    Hi, was wondering if anyone has ever tryed to implement a right click action on a MenuItem, ie: like the start menu does, u right click an item and it shows another Cmenu... i notice that when my appz context menu is popped up, u can press the windows button and nothing happens, ie: only one cmenu at a time, but then i realized that if the start menu is a Cmenu then it cant inherit from a system menu (which i believe MenuItem does). So anyone know of a completely rewritten menu control? or another way to go about this. (BTW it appears that a MEnuItem doesnt send windows messages to a nativewindow, ie u cant subclass it.) like this Class MenuItemSubClass Inherits NativeWindow Sub WndProc(m as Message) MessageBox.Show m.msg.tostring 'nevers shows a single message End Sub End Class 'Usage Sub Form_Load dim mis as new MenuItemSubClass mis.assignhandle(aMenuItem.Handle) End Sub ANY IDEAS??? (also drag n drop would be cool :laugh:)

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups