Results 1 to 9 of 9

Thread: Find Bitmap in Bitmap file

  1. #1
    Join Date
    Jan 2007
    Location
    BC, Canada
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Find Bitmap in Bitmap file

    i assume this can be done? i looking for a function that can search a saved bitmap file for a another bitmap.

  2. #2
    Join Date
    Jul 2007
    Location
    Massachusetts
    Posts
    896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    wrong section i think...

    yep, im doing something with it right now
    just use

    SetTargetBitmap(bitmap: Integer);

    and then all the dtms/bitmaps you search for will be looked for in the bitmap, not the rs client

  3. #3
    Join Date
    Jan 2007
    Location
    BC, Canada
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  4. #4
    Join Date
    Jul 2007
    Location
    Massachusetts
    Posts
    896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    also remember to have already loaded the bitmap with:

    LoadBitmap(path: string): Integer;

    path is the location (c:/Program Files ...)
    so to set the target bitmap to bitmap "b" in location "C:/Location" do
    SCAR Code:
    b:=LoadBitmap('C:/Location');
    SetTargetBitmap(bitmap: Integer);
    remember b has to be an integer var type

  5. #5
    Join Date
    Jan 2007
    Location
    BC, Canada
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I found this in the scar manual "After calling SetTargetBitmap all functions won't be working with client but with specified bitmap." how do i make functions work with client again after calling SetTargetBitmap.

  6. #6
    Join Date
    Jul 2007
    Location
    Massachusetts
    Posts
    896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    lol thats what im trying to figure out, maybe ActivateClient?

  7. #7
    Join Date
    Jan 2007
    Location
    BC, Canada
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i think i found it. will this do it.

    ResetDc;

  8. #8
    Join Date
    Jan 2007
    Location
    BC, Canada
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Boo-ya it total works.

    ResetDc;

  9. #9
    Join Date
    Jul 2007
    Location
    Massachusetts
    Posts
    896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    kk, that actually helped me out with what im doing

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How can I send a bitmap to a php file?
    By almost in forum General
    Replies: 28
    Last Post: 05-05-2009, 10:33 AM
  2. find bitmap
    By fORCE_wORKS in forum OSR Help
    Replies: 2
    Last Post: 12-13-2007, 04:26 AM
  3. Can't Find Bitmap
    By Vagrant in forum OSR Help
    Replies: 3
    Last Post: 06-03-2007, 10:14 PM
  4. Cant' find Bitmap?
    By steth1010 in forum OSR Help
    Replies: 2
    Last Post: 05-09-2007, 08:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •