|
-
Feb 3rd, 2004, 02:57 PM
#1
Thread Starter
Supreme User
[VB/API] - Flash Window
VB Code:
'This project needs a timer,Interval 1000
'In general section
Private Declare Function FlashWindow Lib "user32" (ByVal hwnd As Long, ByVal bInvert As Long) As Long
Const Invert = 1
Private Sub Timer1_Timer()
FlashWindow Me.hwnd, Invert
End Sub
-
Feb 7th, 2004, 05:54 PM
#2
The picture isn't missing
omg you just copied that straight off api-guide, but you removed some comments from it. here is the api-guide version:
VB Code:
'This project needs a timer,Interval 1000
'In general section
Private Declare Function FlashWindow Lib "user32" (ByVal hwnd As Long, ByVal bInvert As Long) As Long
Const Invert = 1
Private Sub Timer1_Timer()
'KPD-Team 1998
'URL: [url]http://www.allapi.net/[/url]
'Flash the window
FlashWindow Me.hwnd, Invert
End Sub
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
Feb 7th, 2004, 05:59 PM
#3
Thread Starter
Supreme User
So? I took that code from AllAPI a while back, i always take the comments out my VB code editor. Then when i put it back in notepad it gets saved without the comments. Geez, whats the problem!
You will find most my other recent submissions from AllAPI
-
Feb 7th, 2004, 06:05 PM
#4
The picture isn't missing
the problem is more like 'copying and pasting code without telling them who made it.'
even if it isn't a problem, the people can search api-guide by themselves, you don't need to copy their code onto here. the code-bank is really for 'innovative' or 'really useful' code, not code that you just ripped out of another code-bank program
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
Feb 7th, 2004, 06:08 PM
#5
Thread Starter
Supreme User
Do you actually know how many people post code here that isnt already duplicated? Although the link to the site is in my sig, not many people may be aware of the code. Ive seen tons of code copied from other sites here, with author name and stuff taken out. Not all my code is copied, but eh - im just sharing. Otherwise next time i'll just make my signature links extra huge and bold
-
Feb 7th, 2004, 06:26 PM
#6
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|