Jul 15 2011

Where is your Right Click Context Menu?

Category: .Net Development | SoftwareJRBlack @ 16:57

Recently working on the UI of a WPF project I struggled attempting to get the Right Click Context Menu to appear as normal, to the right and below the mouse pointer.  No matter what options I used with ContextMenu (.Placement and .PlacementRectangle) the Context Menu would appear to the left and down instead of the right and down.

I spent a few hours researching, testing, debugging, no matter what I couldn’t get the context menu to appear to the right.  I then enlisted the help of some other developers at the .Net Framework Developer Center forums and learned I was making the correct assumptions and doing the right things but it was still not working.  Link to forum thread.

I then noticed that the positioning of the Context Menu was not consistent with all applications on my system.  I am using a Fujitsu Lifebook Tablet PC, running Windows 7.  Most of the apps I use daily, Visual Studio 2010, Chrome, FireFox, AIM to name a few all had context menu normally to the right and down from the mouse pointer.  But Explorer, Microsoft Office, Internet Explorer for example all had the context menu to the left and down.

clip_image002Further research on Google finally revealed that Windows 7 had a registry key that would determine if the context menu appeared to the right or left.  And more importantly Windows 7 had control panel settings specific to a Tablet PC.

clip_image002[7]The default “Right-handed” user on a tablet would set the context menu to the left for easier access while using the actual tablet surface instead of using a mouse like a normal laptop.  This, I assume, would make it easier to select items from the context menu for a right handed user.  Unfortunately it was an unknown distraction that took several hours to track down.

Clearly Chrome, FireFox and Visual Studio 2010 have found a way around this Registry key, or they work around it some how, but I have yet to find a way with WPF.

Tags:

Jul 21 2010

My First YouTube video

Category: Webware | Software | PhotographyJRBlack @ 21:57

Toda…. my very first YouTube video.  It isn’t much, quite short, quality all the way to 720p which is real clear and sharp.  Of course it didn’t hurt any that the pictures I took were crisp and in focus.  I made this video using ProShow Producer from PhotoDex.  ProShow Gold and Producer are quite nice programs for making amazing slide show presentations. 

image

ProShow has way too many features and options to go into right now, but you could loose a lot of time exploring, playing and experimenting with it.  It included many export options including DVD, EXE, Web, FLASH, YouTube and more.

Give it a try and be sure to check out my first YouTube video below.






Tags: , ,

Jan 20 2010

TFS Labels and Change Sets

Category: .Net Development | SoftwareJRBlack @ 18:53

Thought I would share some details I recently learned to save others some pain and suffering…

 

When searching, viewing or getting source Label, know that you will search change labels in our Team Project, not just the labels/change sets for the current project (Trunk/Branch).  Notice below, when searching for a label (after right clicking on the branch and choosing get specific version) you will see all the labels in the Team Project, not just those labels applied to the selected branch (labels circled in red).  This is important to note when getting source from TFS based on a label…  make sure you choose the correct label or you will be getting versions of source you don’t expect.

clip_image001

 

Change Sets are different though.

Notice the Containing file value and only 3 changes sets exist for this branch.  A Change Set is a grouping of one or more files and the changes that were all committed (checked in) at the same time.

clip_image002

Tags: , , , ,