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:

Jan 18 2011

HydroForce Designs

Category: JRBlack @ 16:33

Casting Crowns, on of my top favorite Christian rock bands recently had a contest.  Mark Hall, the lead singer, recently made a new years resolution to stop drinking sweet drinks (soda, sweet tea, etc) in favor of just water or something not sweetened.  He tweeted about this and soon had interest from band members and fans.  He came up with a name for the group making this commitment change named HydroForce.

Encouraged by the interest of fans and such, he started a contest looking for the best HydroForce Tshirt design for HydroForce.  Design elements were to involve: Captain Crown (some action figure looking guy that looks like Mark), HydroForce, water, World Vision and Casting Crowns.  The winner was to win a trip to one of their concerts including backstage meet and greet with the band.

I jumped at this opportunity and proceeded to come up with a bunch of designs with hopes of actually being chosen.  I tried to keep the designs simple, clean, and not too much to read, but do my best to include as many design elements as possible.  This was a fun challenge for me.  Here are my designs.

HydroForceShirt_Design2 HydroForceLogo3 HydroForceLogo4 HydroForceLogo5 HydroForceLogo6 HydroForceLogo7 HydroForceLogo8 HydroForceLogo9 HydroForceLogo10 HydroForceLogo11 HydroForceLogo13

You can see the other designs here:  http://castingcrowns.com/hydroforce

Unfortunately, none of my designs were chosen by the Casting Crowns decision panel.  Below are the 2 winners (they couldn’t decide on just one).  Interestingly, 1 design only included 2 design elements and the other included 3 of the 5 design elements.  I personally disagree with their choices, (though the on the left does look nice), especially the one on the right (which does not show in the list of designs).

Sorry Moby's site has nasty comments apparently. So here are the winning shirts in another format.

Image above taken from:  http://twitpic.com/3r0aza

But this will not deter me from following Mark or enjoying their music and I look forward to another another fun challenge.

Tags:

Nov 19 2010

Outdoor Nature Pictures from Plateau

Category: JRBlack @ 20:25

In August I took the family to Pocono Plateau, a Eastern Pennsylvania Conference United Methodist church camp.  Kim and I were councilors for the week while the kids were campers.  The weather was wonderful and the kids had a great time.  The Plateau is where Kim and I met.

I snapped a bunch of nice “nature” pictures while I was there and compiled the best into this slide show via Windows.Live Photos.  Move your mouse over the bottom of the slide show and click on the Play button.  The slide show uses SilverLight, so you may have to accept and install the SilverLight plugin.  Click HERE for the slide show.

 

 

DSC_4658 DSC_4843 DSC_4846 DSC_4856 DSC_4861 DSC_4054 DSC_4055 DSC_4118 DSC_4125 DSC_4126

Tags: