ZShop (ALPHA 0.1) - The Community Image Editor

Here is the place to post images, videos and downloads of your current and upcoming applications that you are working on.
18 posts Page 2 of 2
User avatar
Cheatmasterbw
Coding God
Coding God
Posts: 1506
Joined: Fri Jan 01, 2010 2:30 pm

I made a plugin that inverts colors in the image:
Invert Colors.zip
------------------------------------------------------

Also, i think it would be a good idea to add a constant called "Name" so in your program's sidebar, the name will be shown, not the file name
You do not have the required permissions to view the files attached to this post.
http://www.megaapps.tk/
User avatar
Cheatmasterbw
Coding God
Coding God
Posts: 1506
Joined: Fri Jan 01, 2010 2:30 pm

Is there a way (in the plugin) to manipulate the ZShop form, like hiding and showing?
http://www.megaapps.tk/
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

You can use Process.GetCurrentProcess() to retrieve the main window handle, then you can use ShowWindow etc
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

mandai wrote:
You can use Process.GetCurrentProcess() to retrieve the main window handle, then you can use ShowWindow etc
In other words

VB.NET
Code: Select all

Constant Hide as integer = 0
Constant Show as integer = 5
<DllImport("user32.dll", SetLastError:=True, CharSet:=CharSet.Auto)> _
Private Shared Function ShowWindow(ByVal hwnd As IntPtr, ByVal nCmdShow As ShowWindowCommands) As Boolean
End Function
ShowWindow(Process.GetCurrentProcess().MainWindowHandle, Hide)
C#
Code: Select all
using System.Runtime.InteropServices;
using System.Diagnostics;
[DllImport("user32.dll")]
static extern bool ShowWindow(IntPtr hWnd, int nCmdShow);
const int Show = 5;
const int Hide = 0;
ShowWindow(Process.GetCurrentProcess().MainWindowHandle, Hide);

I made this in C# first then converted to vb
I got the hiding part working but not the showing part *waiting for someone to fix it*

Resources
-http://pinvoke.net/default.aspx/user32.ShowWindow
-My C++ Beginner experiences
http://vagex.com/?ref=25000
User avatar
Snyper345
VIP - Donator
VIP - Donator
Posts: 471
Joined: Mon Nov 01, 2010 1:53 am

Whens the new update Mr.Zulf? >=)
Image
Image
User avatar
Zulf
Serious Programmer
Serious Programmer
Posts: 441
Joined: Fri Jun 11, 2010 7:46 am

When I finish. :P
Image
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Zulf wrote:
When I finish. :P
Would you answer my PM pleasw? I made a blur plugin but if you dont want it, okay...
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
Zulf
Serious Programmer
Serious Programmer
Posts: 441
Joined: Fri Jun 11, 2010 7:46 am

Just post it on here if you'd like.
Image
18 posts Page 2 of 2
Return to “Work in Progress”