Sha256: d86e7cc5fe9827f5228c07ab168d8bccfaa50bf1abb6eeee68cd0c7aa78e8547

Contents?: true

Size: 1.15 KB

Versions: 1

Compression:

Stored size: 1.15 KB

Contents

# Rb-Messagebox

:exclamation: For Windows MessageBox API Only supported currently. :exclamation:

**Rb-Messagebox** are show `MessageBox` dialog for Win32 API. (for Ruby)

## Installation

```
$ gem install messagebox
```

or Write to the Your application `Gemfile`

```
gem 'messagebox'
```

and execute `bundle` command.

## Usage

example of `irb` simple code.

```ruby
$ irb
> require 'messagebox'
> MessageBox.show(
  "Example MessageBox",
  "This is test message.", 0x40)
```

as a result to That show MessageBox of

* MessageBox title as a **"Example MessageBox"** (First Parameter)
* MessageBox message as a **"This is test message."** (Second Parameter)

`0x40` is **MessageBox Style Code.**

Please show **MSDN Reference** of MessageBox API Function. Parameter as a `uType`

currently URL are

* http://msdn.microsoft.com/en-us/library/windows/desktop/ms645505(v=vs.85).aspx

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
messagebox-0.0.1.1 README.md