topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday September 19, 2026, 12:17 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 138 139 140 141 142 [143] 144 145 146 147 148 ... 404next
3551
ImgFloat ?




Thanks for the nod!  I think that Reference Overlay Tool would be sort of up the alley... but it doesn't show text, it shows images.  I can whip something up to do this with no problems using the same framework, however... what other features did you want?
3552
Official Announcements / Re: Forum Upgraded August 30, 2015 - Report issues here
« Last post by wraith808 on September 09, 2015, 03:52 PM »
Another request (or chiming in on one)- the ability to put custom links or something and position that area.

im open to adding a profile field that would let you specify some custom bbc code area, but id rather not make its position configurable -- so im thinking the custom block would be here:
[ Invalid Attachment ]

That's good enough.  Just hate having to go to the main page and scroll in order to see a board, and don't want another bookmark :)
3553
Official Announcements / Re: Forum Upgraded August 30, 2015 - Report issues here
« Last post by wraith808 on September 09, 2015, 11:34 AM »
Another request (or chiming in on one)- the ability to put custom links or something and position that area.  There are certain areas that I frequent more than others, and some don't appear on the unread or in the info center.  I'd like to not have to go back to the main area, search for the sub area, then go there if possible.
3554
You can try my XLDataAnalyzer: https://www.donation...dex.php?topic=6816.0

Caveats: It's old, and I don't have the source.  I don't even have the docs anymore to help you use it.  But I do know it helped for a friend that needed to do a similar thing for thesis research.
3555
General Software Discussion / Re: Windows 10 Privacy Concerns
« Last post by wraith808 on September 08, 2015, 09:42 PM »
I'm running WinPrivacy on Windows 10... and I just got the weirdest request for internet access.

C:\Program Files\WindowsApps\Microsoft.BingFinance_4.5.168.0_x86__8wekyb3d8bbwe\Microsoft.MSN.Money.exe

I don't even have money installed!
3556
Developer's Corner / Re: Double Clicking, Force Touch, and other strangeness
« Last post by wraith808 on September 08, 2015, 03:09 PM »
LOL!  No... it's the new thing invented with the apple watch... and that is now going to be on all iOS devices.

http://www.theguardi...ed-haptic-technology


wraith808, I read the link, but have doubt. Is this new hematology or name for long press ?
As in long press we are force touching / pressing !


It's really strange.  You press.  Then it tells you that you can 'press harder' to get more options.  So it's press, hold... then press harder without releasing.  Or something like that.  It's VERY confusing to me.  I might get used to it in time.  But it definitely wasn't as intuitive in first use as they're touting.  It's one of the reasons that I immediately threw out the apple watch as an option, even though I love the heart rate monitor (well, and the fact that it doesn't have a GPS and isn't water proof so I can't use it for swimming or biking).
3557
Official Announcements / Re: Forum Upgraded August 30, 2015 - Report issues here
« Last post by wraith808 on September 08, 2015, 03:07 PM »
I sort of got used to the bold after a while, though I found it a bit disruptive at first. But now I find the non-bold version too small and hard to read. Maybe the problem is not so much that it is not bold but that the font is of a too skiny variety. I had to zoom in on the page to make it more readable.

This.  Though I didn't have to zoom in, the font itself is less readable.
3558
Living Room / Re: How do you resist buying ever more powerful PCs?
« Last post by wraith808 on September 08, 2015, 03:06 PM »
Macs do it decently,

Bite your tongue! I had a macbook pro for years, and that touchpad was the bane of my existence!
3559
Announce Your Software/Service/Product / Re: Basic Calculator
« Last post by wraith808 on September 08, 2015, 03:00 PM »
Oh!  I thought you were trying to make it so the edges don't drop off.  For rounded windows, it's a lot easier (and harder).

First, set the following properties in the XAML:

Code: C# [Select]
  1. WindowStyle="None"
  2. AllowsTransparency="True"
  3. Background="Transparent"

Then add a border around your content.  The default is <grid></grid>.  Add around that <border></border>.  Then set the CornerRadius and the Padding.  Note that the corner radius and padding are for all sides if you set them to one number.  Otherwise, it uses the non intuitive Left, Top, Right, Bottom format, i.e. CornerRadius="8,8,8,8" is the same as CornerRadius="8".  Also, don't forget to set the FocusVisualStyle="{x:Null}" so that when the actual border is set to focused, it doesn't show the whole window as the focus rectangle.

Example from one of my projects that shows a dialog with an area for the X replacement and the buttons:

Code: C# [Select]
  1. <base:NextGenesView x:Class="Modules.Shell.ViewsAndViewModels.MessageOverlay.MessageOverlayView"
  2.              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3.              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4.              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5.              xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6.              xmlns:aero="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"
  7.              mc:Ignorable="d"
  8.              Focusable="True" FocusVisualStyle="{x:Null}">
  9.  
  10.     <base:NextGenesView.Resources>
  11.         <Style TargetType="{x:Type Button}">
  12.             <Setter Property="BorderBrush" Value="Gray" />
  13.             <Setter Property="BorderThickness" Value="2" />
  14.             <Setter Property="Width" Value="44" />
  15.             <Setter Property="FontWeight" Value="DemiBold" />
  16.             <Setter Property="Cursor" Value="Hand" />
  17.         </Style>
  18.  
  19.         <Style x:Key="NoChromeButton" TargetType="{x:Type Button}">
  20.             <Setter Property="Background" Value="Transparent"/>
  21.             <Setter Property="BorderThickness" Value="1"/>
  22.             <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
  23.             <Setter Property="HorizontalContentAlignment" Value="Center"/>
  24.             <Setter Property="VerticalContentAlignment" Value="Center"/>
  25.             <Setter Property="Padding" Value="1"/>
  26.             <Setter Property="Template">
  27.                 <Setter.Value>
  28.                     <ControlTemplate TargetType="{x:Type Button}">
  29.                         <Grid x:Name="Chrome" Background="{TemplateBinding Background}" SnapsToDevicePixels="true">
  30.                             <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
  31.                         </Grid>
  32.                         <ControlTemplate.Triggers>
  33.                             <Trigger Property="IsEnabled" Value="false">
  34.                                 <Setter Property="Foreground" Value="#ADADAD"/>
  35.                                 <Setter Property="Opacity" TargetName="Chrome" Value="0.5"/>
  36.                             </Trigger>
  37.                         </ControlTemplate.Triggers>
  38.                     </ControlTemplate>
  39.                 </Setter.Value>
  40.             </Setter>
  41.         </Style>
  42.  
  43.         <Style x:Key="MessageIcon" TargetType="{x:Type Image}">
  44.             <Style.Triggers>
  45.                 <DataTrigger Binding="{Binding Icon}" Value="None">
  46.                     <Setter Property="Visibility" Value="Collapsed" />
  47.                 </DataTrigger>
  48.                 <DataTrigger Binding="{Binding Icon}" Value="Asterisk">
  49.                     <Setter Property="Source" Value="..\ButtonIcons\Asterisk.png" />
  50.                 </DataTrigger>
  51.                 <DataTrigger Binding="{Binding Icon}" Value="Error">
  52.                     <Setter Property="Source" Value="..\ButtonIcons\Error.png" />
  53.                 </DataTrigger>
  54.                 <DataTrigger Binding="{Binding Icon}" Value="Exclamation">
  55.                     <Setter Property="Source" Value="..\ButtonIcons\Exclamation.png" />
  56.                 </DataTrigger>
  57.                 <DataTrigger Binding="{Binding Icon}" Value="Hand">
  58.                     <Setter Property="Source" Value="..\ButtonIcons\Hand.png" />
  59.                 </DataTrigger>
  60.                 <DataTrigger Binding="{Binding Icon}" Value="Information">
  61.                     <Setter Property="Source" Value="..\ButtonIcons\Information.png" />
  62.                 </DataTrigger>
  63.                 <DataTrigger Binding="{Binding Icon}" Value="Question">
  64.                     <Setter Property="Source" Value="..\ButtonIcons\Question.png" />
  65.                 </DataTrigger>
  66.                 <DataTrigger Binding="{Binding Icon}" Value="Stop">
  67.                     <Setter Property="Source" Value="..\ButtonIcons\Hand.png" />
  68.                 </DataTrigger>
  69.                 <DataTrigger Binding="{Binding Icon}" Value="Warning">
  70.                     <Setter Property="Source" Value="..\ButtonIcons\Exclamation.png" />
  71.                 </DataTrigger>
  72.                 <DataTrigger Binding="{Binding Icon}" Value="MrSmith">
  73.                     <Setter Property="Source" Value="..\ButtonIcons\MrSmith.png" />
  74.                 </DataTrigger>
  75.             </Style.Triggers>
  76.         </Style>
  77.     </base:NextGenesView.Resources>
  78.  
  79.     <base:NextGenesView.InputBindings>
  80.         <KeyBinding Command="{Binding DefaultGoCommand}" Key="Enter" />
  81.         <KeyBinding Command="{Binding DefaultNoGoCommand}" Key="Escape" />
  82.     </base:NextGenesView.InputBindings>
  83.  
  84.         <aero:SystemDropShadowChrome CornerRadius="20,5,20,5" HorizontalAlignment="Center" VerticalAlignment="Center">
  85.             <Border Margin="6,6,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" BorderBrush="Black" BorderThickness="2,2,2,2" CornerRadius="20,5,20,5" Background="Wheat">
  86.                 <Grid FocusManager.FocusedElement="{Binding ElementName=CloseX}" Focusable="True">
  87.                     <Grid.ColumnDefinitions>
  88.                         <ColumnDefinition></ColumnDefinition>
  89.                         <ColumnDefinition></ColumnDefinition>
  90.                     </Grid.ColumnDefinitions>
  91.                     <Image Grid.Column="0" VerticalAlignment="Top"  Margin="12,6,0,0"  Height="48" Width="48" Style="{StaticResource MessageIcon}"></Image>
  92.                     <DockPanel Grid.Column="1" Margin="15,0,5,0"  HorizontalAlignment="Center" VerticalAlignment="Center">
  93.                         <DockPanel DockPanel.Dock="Top" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="0,0,0,10">
  94.                             <Button Command="{Binding Path=DefaultNoGoCommand}" Style="{StaticResource NoChromeButton}" DockPanel.Dock="Right" Height="18" Width="18">
  95.                                 <Image Name="CloseX" HorizontalAlignment="Center" VerticalAlignment="Center"
  96.                                    Height="16" Width="16" Source="..\ButtonIcons\close.png" Focusable="True" Cursor="Hand">
  97.                                 </Image>
  98.                             </Button>
  99.                             <Label DockPanel.Dock="Left" FontWeight="SemiBold" FontSize="16" Content="{Binding Caption}"/>
  100.                         </DockPanel>
  101.                         <StackPanel HorizontalAlignment="Right" DockPanel.Dock="Bottom" Orientation="Horizontal" Height="26" Margin="0,10,15,10">
  102.                             <Button Margin="5,0,0,0" Command="{Binding Path=YesCommand}" Content="_Yes" Visibility="{Binding YesButtonVisibility}"></Button>
  103.                             <Button Margin="5,0,0,0" Command="{Binding Path=NoCommand}" Content="_No" Visibility="{Binding NoButtonVisibility}"></Button>
  104.                             <Button Margin="5,0,0,0" Command="{Binding Path=OkCommand}" Content="OK" Visibility="{Binding OkButtonVisibility}"></Button>
  105.                             <Button Margin="5,0,0,0" Command="{Binding Path=CancelCommand}" Content="Cancel" Visibility="{Binding CancelButtonVisibility}"></Button>
  106.                         </StackPanel>
  107.                     <ScrollViewer MaxHeight="400" MaxWidth="425" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto">
  108.                         <TextBox TextWrapping="Wrap" Text="{Binding MessageText}" Background="Wheat" BorderThickness="0" IsReadOnly="True">                            
  109.                         </TextBox>
  110.                     </ScrollViewer>
  111.                 </DockPanel>
  112.                 </Grid>
  113.             </Border>
  114.         </aero:SystemDropShadowChrome>
  115.  
  116. </base:NextGenesView>

Note: I redacted some stuff in there, so it will need some adjustments if you try to use that code.

Other examples:
http://www.ayobamiad...egular-window-in-WPF
https://csharplesson...unded-corner-window/

If you're trying to alias an image for the page... well, the image itself needs to be made for that.  And you have to use an opacity mask.

But I see now, you're using Windows Forms.  Sorry... You're on your own at that point.  :P
3560
Living Room / Re: Take the xkcd weird correlation survey
« Last post by wraith808 on September 08, 2015, 11:44 AM »
five
random
words
um
one

 ;D

I typed "five random words" without even entering in two more.

I'm a rebel like that. 8)

I wish I had done that... didn't think of it until after :)  I don't think you're a rebel... you did exactly what it told you!  ;D
3561
Developer's Corner / Re: Double Clicking, Force Touch, and other strangeness
« Last post by wraith808 on September 08, 2015, 11:42 AM »
What the smurf is a force touch? :huh:

Some sort of Jedi power?

LOL!  No... it's the new thing invented with the apple watch... and that is now going to be on all iOS devices.

http://www.theguardi...ed-haptic-technology

https://support.apple.com/en-us/HT204352

http://techcrunch.co...uch-trackpad-review/
3562
Official Announcements / Re: Forum Upgraded August 30, 2015 - Report issues here
« Last post by wraith808 on September 08, 2015, 11:39 AM »
Ok I have switched to a default of non-bolded hyperlinks; i still bold them in a few places (like inside posts) to make them more readable, but elsewhere back to non-bolded.
Remember to hit F5 to force a re-load of the css file to see the changes.

Let me know if you folks like this look better or worse.


I'd vote for the default being bolded - well, for thread titles anyways. I found them easier to read bold.

+1.
3563
Announce Your Software/Service/Product / Re: Basic Calculator
« Last post by wraith808 on September 07, 2015, 07:02 PM »
Easiest way... change your thinking.

Use a standard window frame.  Reserve a few pixels on the edges.  Color that the dominant color in your image.  Lay the image on top.  Ta da!
3564
Living Room / Re: How do you resist buying ever more powerful PCs?
« Last post by wraith808 on September 07, 2015, 04:10 PM »
I just purchased another new PC.  What?  I don't have problems. >.>

I liked my inspiron 7000, so I'm giving it to my daughter, and getting an XPS 13.

Like I said...

I don't resist.  ;D

:huh:;D
3566
Living Room / Re: Take the xkcd weird correlation survey
« Last post by wraith808 on September 07, 2015, 02:45 PM »
five
random
words
um
one

 ;D

One might argue that your first three word choices aren't random choices at all. ;)

The didn't say choose by a random method.  They said "Type five random words".  Therefore, that argument is invalid.  I was just following instructions.  ;D :P :Thmbsup:
3567
Official Announcements / Re: Forum Upgraded August 30, 2015 - Report issues here
« Last post by wraith808 on September 07, 2015, 10:09 AM »
can you just confirm to me that we are talking about the same list? maybe a screenshot,

[ Invalid Attachment ]

I'd expect 1 name (and not my own) to "stand out from the crowd", here :-[
(Screenshot taken from Pale Moon)

Buddy?  What's a buddy?!?
3568
And its very much appreciated!  :Thmbsup:

And I'm even happier that things are going well for you there!  8) :Thmbsup:
3569
Developer's Corner / Re: Double Clicking, Force Touch, and other strangeness
« Last post by wraith808 on September 06, 2015, 10:00 PM »
Sometimes, simple, no matter how inelegant it may seem, is just better.

it is very hard advice for a programmer to take -- and as much as i give it to myself i still find it hard to take -- but one of the things you learn over time as a developer is the extremely high price that one pays over time for complexity.
The initial development cost is misleading and unimportant compared to the accumulated maintenance costs over time with complexity.

Exactly.  I love making 'innovative' UIs.  But they're for me in the end.  I made what I considered one of my best UIs for a job that I had when we actually had UX testing.  It was a disaster, and I was demoralized.  So I went in, stripped everything out, and simplified out of frustration... and it got raves.

*sigh*
3570
Official Announcements / Re: Forum Upgraded August 30, 2015 - Report issues here
« Last post by wraith808 on September 06, 2015, 09:57 PM »
Do similar screenshot from simplemachines.org please :
Anybody have any clues what this could be?
.

Thank you.



Erm...We have NOTHING to do with that website...how could we possibly control what they install on their own forum?  That's like you asking us to publish a story on bbc.com...it doesn't belong to us...I am assuming this is what you mean...but unless you decide to speak to me in something resembling English, I am afraid I don't have the time, nor patience to try figure it out anymore.


Stephen.  Let it go.  Seriously.  I've been down this path, and it's frustrating and leads nowhere.
3571
General Software Discussion / Re: Windows 10 Privacy Concerns
« Last post by wraith808 on September 06, 2015, 09:56 PM »
We need to have a thread where Ewomoa posts, followed by Innuendo, back and forth... followed by someone with an O.  What is it with the green and black letter blocks for your avatars?
3572
Developer's Corner / Double Clicking, Force Touch, and other strangeness
« Last post by wraith808 on September 06, 2015, 03:59 PM »
Looking at a tweet from Jeff Atwood led me to an article from 2004 that clarified some things for me.

As coders, we come up with some strange ideas that are to get around hardware deficiencies.  We convince ourselves that we're making strides in UX, when all we're really doing is making a lot of problems for people that will come after us.

Mouse Gestures
Finger Swiping
Double Clicking
Force Touch

Heck, let's add right clicking into it.

From a developer's standpoint, they seem cool, and add a lot of functionality in an 'elegant' fashion.  But in all reality, they in general add a layer of complexity and frustration that our users will be hampered by.

Sometimes, simple, no matter how inelegant it may seem, is just better.

What is this rant for?   A reminder to myself, I suppose, of a quote by Einstein that I sometimes forget.

"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
3573
^ LOL :)  Good one!
3574
Official Announcements / Re: Forum Upgraded August 30, 2015 - Report issues here
« Last post by wraith808 on September 06, 2015, 03:41 PM »
it puts a space at the beginning of your message after the quote.
can you elaborate? im not sure what i should be looking for to fix.

I can't make it happen now, though it happened just prior to this.  I'll keep an eye on it.  Like I said, it was just an annoyance.  But under certain conditions (not sure what they are), there's an extraneous space when I start typing a reply.

* wraith808 shrugs
3575
Living Room / Re: Take the xkcd weird correlation survey
« Last post by wraith808 on September 06, 2015, 02:41 PM »
five
random
words
um
one

 ;D
Pages: prev1 ... 138 139 140 141 142 [143] 144 145 146 147 148 ... 404next