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. NET-1.1: Owner Draw Context Menu

NET-1.1: Owner Draw Context Menu

Scheduled Pinned Locked Moved Visual Basic
helplearning
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.
  • M Offline
    M Offline
    Marco Turrini
    wrote on last edited by
    #1

    Hi to everyone, I've written a small application which reside in the tray area, with a context menu and no form. I'm trying to display a user drawn menu, the same way I already did so many times in standard Windows application, by using the DrawMenu & MeasureItem couple (and of course the UserDraw property set to True); but I'm getting no output, just a blank line, even the text ("View logs", for instance) disappear, though if I click on the item I get the expected behaviour (the log window appears). By the way, another difference with the standard Windows app, is that I'm defining the menu items in the sub Main (since I have no form) Can someone please help me. Thanks in advance Marco Turrini

    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