Lost Password?


Go Back   CodeCall Programming Forum > Software Development > Visual Basic Programming

Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-05-2007, 03:24 AM
travy92's Avatar   
travy92 travy92 is offline
Learning Programmer
 
Join Date: Sep 2007
Location: Australia
Age: 15
Posts: 72
Rep Power: 5
travy92 is on a distinguished road
Send a message via MSN to travy92
Question Right-Click menu

Is it possible to make a right-click menu? Like when you right-click a file and the menu comes up with "save, delete" etc.

BTW i'm using VB 6.0

Any help would be much appreciated!
__________________
C:\Users\Travis\Desktop\Image Converter\Knight1.bmp
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 10-06-2007, 09:06 AM
PaulM PaulM is offline
Newbie
 
Join Date: Oct 2007
Location: Australia, Melbourne
Age: 19
Posts: 8
Rep Power: 0
PaulM is on a distinguished road
Send a message via AIM to PaulM
Default

Its real simple, create a menu and all you have to do is

Code:
Me.PopupMenu mnunamehere
so as an example i have a Edit menu and on my RichTextBox control i have the following code so users can click the right button and use the edit tools.

Code:
Private Sub RTB_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)
If Button = vbRightButton Then
Me.PopupMenu mnufile
End If
End Sub
Regards, Paul
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows XP Tricks & Tips!!!!..new ones. pranky Tutorials 9 08-23-2008 04:22 PM
Menu Item options. aravot easyContact 3 12-13-2007 03:27 PM
JavaScript: Opening 2 links with 1 Click TcM Javascript 5 08-08-2007 06:55 PM
Right Click File Explorer Lop Managed C++ 4 06-13-2006 08:22 PM
How to Count number of button has been Click? roger Visual Basic Programming 4 06-01-2006 03:49 PM


All times are GMT -5. The time now is 06:05 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 100%


Complete - Celebrate!

Ads