topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Saturday April 27, 2024, 5:19 am
  • 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

Last post Author Topic: ForumPad Basic [Release]  (Read 16943 times)

KynloStephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,741
    • View Profile
    • Donate to Member
ForumPad Basic [Release]
« on: January 20, 2011, 11:08 AM »
Application Name ForumPad Basic
Version 1.0.0.0
Short Description Format Forum Posts Offline
Supported OSes Tested on Win7 Ultimate x86
Web Page None
Download Link See Attachment (ForumPad v1.11)
Visual C# 2010 Project File See Attachment (ForumPad.zip)
Author Stephen66515


Description
This is just a basic notepad style application, which allows you to input BBCode, so you can easily format your forum posts offline, and save them if you need to.

Features
Contains most of the standard notepad features, plus extra ones that allow BBCode to be placed with the click of a button.

Planned Features
Preview Screen:  Preview what your post will look like with the formatted BBCode attached.

Screenshots
ForumPad Basic.pngForumPad Basic [Release]

Usage
Installation
No install required, just unzip and run.

Known Issues
None known.

*edit*
Just fixed a few small errors I found:  See new attachment  "ForumPad v1.10.zip"
« Last Edit: January 23, 2011, 12:14 PM by Stephen66515 »

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #1 on: January 20, 2011, 11:16 AM »
nice!
Hasn't someone else here done a similar program also?  Great to have several options.

timns

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,211
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #2 on: January 20, 2011, 11:16 AM »
Wonderful!

Do you have plans to add the rest of the BB codes that can be used?

Edit: sorry - working here under Vista Business x86.
« Last Edit: January 20, 2011, 11:22 AM by timns »

KynloStephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,741
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #3 on: January 20, 2011, 11:22 AM »
Wonderful!

Do you have plans to add the rest of the BB codes that can be used?

Of course, Im going to compile a list tonight when I get home.  If you have any in specific you want, let me know and ill sort them out in the next build.

nice!
Hasn't someone else here done a similar program also?  Great to have several options.

Not got the faintest idea, I did a quick google search, which didnt bring anything up lol

daddydave

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 867
  • test
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #4 on: January 20, 2011, 11:28 AM »
nice!
Hasn't someone else here done a similar program also?  Great to have several options.

BBCeditor
https://www.donation...ex.php?topic=17623.0

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #5 on: January 20, 2011, 11:30 AM »
nice!
Hasn't someone else here done a similar program also?  Great to have several options.

BBCeditor
https://www.donation...ex.php?topic=17623.0
That's the one!  Good ol, fenix.  I think we need a shootout!

KynloStephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,741
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #6 on: January 20, 2011, 11:32 AM »
nice!
Hasn't someone else here done a similar program also?  Great to have several options.

BBCeditor
https://www.donation...ex.php?topic=17623.0
That's the one!  Good ol, fenix.  I think we need a shootout!

Nice, wish I had searched first haha, no worries though, no harm in having a few diff things for the same role ;)

Makes me wanna get to work on the preview now :P

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,646
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #7 on: January 20, 2011, 11:52 AM »
Cool, this could be quite handy.

But a there are two things I find troubling:
If I highlight some text and hit a format button, the tags go to the end of the line instead of around the highlighted text.
I can't resize the App Window.

I do like the icon.

KynloStephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,741
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #8 on: January 20, 2011, 11:54 AM »
Cool, this could be quite handy.

But a there are two things I find troubling:
If I highlight some text and hit a format button, the tags go to the end of the line instead of around the highlighted text.
I can't resize the App Window.

I do like the icon.

Im going to be modifying the code to it wraps the text with the desired tag in the next release.

Resizing was causing a couple of issues on this version so i disabled while I get to work fixing it.

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,646
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #9 on: January 20, 2011, 11:57 AM »
nice!
Hasn't someone else here done a similar program also?  Great to have several options.

BBCeditor
https://www.donation...ex.php?topic=17623.0
That's the one!  Good ol, fenix.  I think we need a shootout!

Even half done I like this one better, as the UI has a more MessageBoard like feel to it. That "feel" makes it more intuitive to use. It's really quite clever.

KynloStephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,741
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #10 on: January 20, 2011, 11:58 AM »
nice!
Hasn't someone else here done a similar program also?  Great to have several options.

BBCeditor
https://www.donation...ex.php?topic=17623.0
That's the one!  Good ol, fenix.  I think we need a shootout!

Even half done I like this one better, as the UI has a more MessageBoard like feel to it. That "feel" makes it more intuitive to use. It's really quite clever.

Thanks :)

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #11 on: January 20, 2011, 12:12 PM »
Nice work, Stephen.  You may be able to get some ideas from this one, too:

http://www.autohotkey.com/forum/topic6161.html

KynloStephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,741
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #12 on: January 20, 2011, 04:04 PM »
Does anybody want any specific features adding?

timns

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,211
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #13 on: January 20, 2011, 04:07 PM »
Does anybody want any specific features adding?

1. One button for "select all and copy to clipboard" please

2. Allow window re-sizing

KynloStephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,741
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #14 on: January 20, 2011, 04:14 PM »
Does anybody want any specific features adding?

1. One button for "select all and copy to clipboard" please

2. Allow window re-sizing


Select All + Copy = Will be in the next release
Window Resizing is still causing a few problems, so unsure whether I will unlock it on next release, will certainly try :)

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #15 on: January 20, 2011, 04:42 PM »
Does anybody want any specific features adding?
OK, you asked for it.  This is never good to offer to someone like me...

Here's a cool option:  have a side panel that shows examples of usage for each of the bbs codes.  There's a link to a long wiki-something page (someone posted it yesterday) that lists all the codes with explanations and an example of it's use.  If you could take all of that, and have a side panel that shows it, that would be pretty neat.  How do you go about selecting the function to see in the panel?  I don't know...maybe hovering over one of the buttons, or having a dropdown list of functions...I'm not sure.  What do others think?

KynloStephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,741
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #16 on: January 20, 2011, 04:46 PM »
Does anybody want any specific features adding?
OK, you asked for it.  This is never good to offer to someone like me...

Here's a cool option:  have a side panel that shows examples of usage for each of the bbs codes.  There's a link to a long wiki-something page (someone posted it yesterday) that lists all the codes with explanations and an example of it's use.  If you could take all of that, and have a side panel that shows it, that would be pretty neat.  How do you go about selecting the function to see in the panel?  I don't know...maybe hovering over one of the buttons, or having a dropdown list of functions...I'm not sure.  What do others think?

How about I add that, in a new window, sort of like a help file?

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,646
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #17 on: January 20, 2011, 04:47 PM »
Window Resizing is still causing a few problems

What sort of problems?

Does anybody want any specific features adding?
OK, you asked for it.  This is never good to offer to someone like me...

Here's a cool option:  have a side panel that shows examples of usage for each of the bbs codes.  There's a link to a long wiki-something page (someone posted it yesterday) that lists all the codes with explanations and an example of it's use.  If you could take all of that, and have a side panel that shows it, that would be pretty neat.  How do you go about selecting the function to see in the panel?  I don't know...maybe hovering over one of the buttons, or having a dropdown list of functions...I'm not sure.  What do others think?

To keep it clean, you could have the text pop-up in a alt/balloon ToolTip Text window (could not think of that a minute ago) on button hover. Or do the (old school) statusbar text on hover.
« Last Edit: January 20, 2011, 04:49 PM by Stoic Joker »

KynloStephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,741
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #18 on: January 20, 2011, 05:18 PM »
Just fixed a few small errors I found:  See new attachment  "ForumPad v1.10.zip"

Fixed:
  • File Save Dialog Default Name and File Type
  • File Open Dialog Default Name and File Type

Added:
  • Select All + Copy (one button for both functions)

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,646
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #19 on: January 21, 2011, 01:36 PM »
Just grabbed a copy of v1.10 to play with and nothing on the file menu is working now (no response, reaction, or error) ... The buttons all work fine.

KynloStephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,741
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #20 on: January 21, 2011, 01:59 PM »
Just grabbed a copy of v1.10 to play with and nothing on the file menu is working now (no response, reaction, or error) ... The buttons all work fine.

Ah crap, seems the code for those has run away, no bloody clue why, ill fix now :)  ty for letting me know.

KynloStephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,741
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #21 on: January 21, 2011, 02:08 PM »
Fixed - Download v1.11 from the main post's attachment :)

KynloStephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,741
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #22 on: January 21, 2011, 02:10 PM »
Next release should hopefully include the ability to resize the window.  Just trying to stop the text area either only going to the bottom half in maximised mode, or the other error where it goes full screen, but hides the top, behind the buttons lol.

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,646
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #23 on: January 21, 2011, 02:38 PM »
Next release should hopefully include the ability to resize the window.  Just trying to stop the text area either only going to the bottom half in maximised mode, or the other error where it goes full screen, but hides the top, behind the buttons lol.

Ah! yes, that is maddening. Not sure if it'll help, but here is the code I've used in the past for sizing ListView controls (it works the same for Edit controls too):
Code: C++ [Select]
  1. // From Main Window Procedure:
  2.  
  3.         case WM_SIZE:
  4.                 WndSizeProc(hWnd, msg, wParam, lParam);
  5.                 break;
  6.  
  7. // Bunch of other unrealated stuff cut out
  8.  
  9.  
  10. //========================= Adjust the geometry of the status bar and the MDI client objects.
  11. void WndSizeProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) {
  12.         int  iStatusHeight, iListHeight;
  13.         RECT rcParent, rcStatus;
  14.         HWND hStatus;
  15.  
  16.         // Size status bar and get height
  17.   hStatus = GetDlgItem(hwnd, IDC_MAIN_STATUS);
  18.   SendMessage(hStatus, WM_SIZE, 0, 0);
  19.   GetWindowRect(hStatus, &rcStatus);
  20.   iStatusHeight = rcStatus.bottom - rcStatus.top;
  21.  
  22.         // Calculate remaining height and size edit
  23.   GetClientRect(hwnd, &rcParent);
  24.   iListHeight = rcParent.bottom - iStatusHeight;
  25.   SetWindowPos(hListBox,NULL,0,0,rcParent.right-rcParent.left,iListHeight-rcParent.top, SWP_SHOWWINDOW);
  26.   UpdateWindow(hListBox);
  27. }


Or a really Quick-N-Dirty version:
Code: C++ [Select]
  1. case WM_SIZE:
  2.                 GetClientRect(hWnd, &rc);
  3.                 SetWindowPos(GetWindow(hWnd, GW_CHILD), NULL, 0, 0,
  4.                                 rc.right-rc.left, rc.bottom-rc.top, SWP_SHOWWINDOW);
  5.           break; //-------------------------------------------+++--> END of Case WM_SIZE
  6. //==================================================================================

KynloStephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,741
    • View Profile
    • Donate to Member
Re: ForumPad Basic [Release]
« Reply #24 on: January 21, 2011, 02:46 PM »
I managed to fix the resizing problem, forgot I wasnt adding the buttons to a controlstrip, so it was causing the text window to not know where its barrier was, and glued itself to the MenuStrip lol.

Maximize is now working, however, the current size of the box is the minimum i will allow for the moment until I can fix another slight problem.

Next version will contain the resize mode, and also, one ive finished doing the list of each BBCode help thingy, it will be available to view using F1.

I will probably add tooltips just for basic info, using the same rollover text you get on the ones on the forum, nothing special, but they will be there all-the-same.

I dont think ill be doing the 'text wrap' feature in the next version, as im sort of just throwing them together fixing problems here and there and not really had time to work out how to get it to (omg my dog just farted at me and ive lost my train of thought) add X to the beginning of the highlighted text, and X to the end.

If there are any other features people would like, feel free to ask me.

I might include an inbuilt browser that will quickly load up the DC forum, or just a shortcut key that will open up DC in your default browser, not too sure yet cause this isnt really aimed just at the DC forum, so I dont think it would be fair to only have that link on it.